PersistedState<T> class abstract

Implemented types
Implementers

Constructors

PersistedState(String _key, Store _store, Future<T> _initialiser())

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
no setteroverride
isReady → bool
no setter
ready → Future<void>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Future<T>
no setteroverride

Methods

addListener(Listener<T> listener, {bool fireImmediately = true}) → RemoveListener
override
dispose() → void
override
fromJson(Map<String, dynamic> json) → T
init(ErrorHandler errorHandler, bool storageJson) → void
modifyState(Future modifier(T state)) → Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setState(T value) → void
override
toJson(T t) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited