BlocStore<S extends BlocState> class
abstract
A store that persists and retrieves values from BlocStates.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< void> - Clears the store.
-
delete(
String key) → Future< S?> -
Deletes the
value
for the givenkey
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
String key, S value) → Future< S?> -
Persits the
value
for the givenkey
. -
retrieve(
String key) → Future< S?> -
Retrieves the
value
for the givenkey
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited