AjwahStore class
Constructors
Properties
- actions → Actions
-
read-only
-
dispatcher
→ BehaviorSubject<
Action> -
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
dispatch(
Action action ) → void -
dispose(
) → void - It's a clean up function.
-
exportState(
) → Stream< List> -
return latest stream of
action, state
array. [...] -
getState<
T> ({String stateName} ) → T -
importState(
Map< String, dynamic> state) → void - state object should be a Map<String, dynamic> state [...]
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
registerEffect(
EffectCallback callback, {String effectKey} ) → void - This method is usefull to add a single effect passing a callback ( Actions action$, Store store$)=>Stream and effectKey on demand. [...]
-
registerState<
S> ({String stateName, S initialState, MapActionToStateCallback< S> mapActionToState}) → void -
select<
T> (String stateName ) → Stream< T> -
selectMany<
T> (T callback(Map< String, dynamic> state) ) → Stream< T> -
toString(
) → String -
Returns a string representation of this object.
inherited
-
unregisterEffect(
{String effectKey} ) → void - This method is usefull to remove effects passing effectKey on demand.
-
unregisterState(
{String stateName} ) → void
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited