Store<S> class

Inheritance

Constructors

Store({required Reducer<S> reducer, required S initialState, List<Module<S>> modules = const []})

Properties

channel Stream<StateAction<S, dynamic>>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
initialState → S
final
modules List<Module<S>>
final
reducer Reducer<S>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
override
dispatch(dynamic action) Future<void>
override
getInitialValueForModule<T>(String id) → T
getPreviousStateUnsafe() StateAction<S, dynamic>?
override
getState() Future<StateAction<S, dynamic>>
override
getStateUnsafe() StateAction<S, dynamic>?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited