StoreInterface<S, E, A extends ReducerAction> class
abstract
Formal Interface for all Store implementations
- Implementers
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
-
viewStore
→ ViewStoreInterface<
S, A> -
get ViewStore - object to manage state changes in a controlled unidirectional flow
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scopeAsyncStateSync<
T extends Object, CA extends ReducerAction, CE> ({required FutureOr< T> loader(E), required AsyncState<T> toChildState(S), required S fromChildState(S, AsyncState<T> )}) → StoreInterface<AsyncState< T> , E, AsyncStateAction> -
scopeForwardActionsAndSyncState<
CS, CA extends ReducerAction, CE> ({required CS toChildState(S), required S fromChildState(S, CS), required A fromChildAction(CA), required Reducer< CS, CE, CA> childReducer, required CE toChildEnvironment(E)}) → StoreInterface<CS, CE, CA> -
scopeParentHandles<
CS, CA extends ReducerAction, CE> ({required CS toChildState(S), required A fromChildAction(CA), required CE toChildEnvironment(E)}) → StoreInterface< CS, CE, CA> - scope a stores state concerns down to a portion of it's state
-
scopeSyncState<
CS, CA extends ReducerAction, CE> ({required CS toChildState(S), required S fromChildState(S, CS), required Reducer< CS, CE, CA> childReducer, required CE toChildEnvironment(E)}) → StoreInterface<CS, CE, CA> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited