UndoManager<T> class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
length
→ int
-
Returns the number of items in the manager.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(T value)
→ void
-
Adds a new item to the manager.
-
insert(int index, T value)
→ void
-
Inserts an item at the specified index. If the index is out of range, adds to the end.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
undo()
→ T?
-
Removes and returns the last item added to the manager. Returns null if empty.