DefautHistoryStorage<T> class
- Inheritance
-
- Object
- HistoryStorage<
T> - DefautHistoryStorage
Constructors
-
DefautHistoryStorage(int maxSize, {Future<
void> persistenceHandler(List<T> )?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSize → int
-
final
-
persistenceHandler
→ (Future<
void> Function(List<T> )?) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
T nextValue, {bool clearUndo = true}) → Future< void> -
override
-
clear(
) → Future< bool> -
override
-
getHistory(
{int items = 10}) → Future< List< T> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyPersistence(
) → Future< void> -
redo(
) → Future< T?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
undo(
T undo) → Future< T?> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited