Store<S> class Null safety

Inheritance

Constructors

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

Properties

channel Stream<StateAction<S, dynamic>>
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
initialState → S
final
modules List<Module<S>>
final
reducer Reducer<S>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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