data class Undoable
Defines an execution that can be undone.
Undoable(name: String? = null, actions: MutableSet<() -> Unit> = mutableSetOf())
Defines an execution that can be undone. |
val isValid: Boolean |
|
var name: String? |
fun addAction(action: () -> Unit): Unit |
|
fun undo(): Unit |