Store class abstract
A base class that has to be extended to create stores.
Constructors
- Store()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runAndSubscribe(
void subscriber()) → Subscription -
Same as
subscribe
but callback is immediately called for the first time. -
setState(
void callback()) → void - Calls all subscribers.
-
subscribe(
void subscriber()) → Subscription -
Accepts a callback as its argument which is run
after
setState
is called. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited