GlobalStore class
Global singleton of ReduxStore
Constructors
- GlobalStore()
-
factory
Properties
-
actionList
→ List<
ReduxAction> -
For Debug
Get the entire action list
no setter
-
actionListener
→ Stream<
ReduxAction> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastDispatchAction → ReduxAction?
-
For Debug
Get the last one in the action list
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stackMap
→ Map<
String, int> ? -
Gets the index of the current state of each module in the stack
no setter
- store → ReduxStore
-
no setter
Methods
-
clearDebugActionList(
) → void - For Debug Empty debug action list
-
dispatch(
ReduxAction action) → void - For Debug Dispatch action
-
initStore(
List< ReduxBloc> blocs, {bool isDebug = false}) → void - Initialize ReduxStore
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popState(
String name) → void - Pop the state at the top of the stack
-
privateState<
T> (String name, {Map< String, int> ? stackMap}) → T? - For Debug Get the private state of the module
-
publicState<
T> (String name, {Map< String, int> ? stackMap}) → T? - For Debug Get the public state of the module
-
pushState(
String name) → void - Put a copy of the current state into the stack
-
reduxState(
String name) → ReduxState? - For Debug Get the ReduxState object of the module
-
reset(
) → void - Reset singleton
-
sendAppInitAction(
ReduxAction action) → void - Send application initialize action
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited