Store<State> class

Store is providing access to State for current containing class and EventBus

Constructors

Store.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Flag indicating that this store is disposed
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → State
Current state in store
no setter
stream Stream<State>
Main stream for all store values
no setter

Methods

changes<Value>(StoreMapper<Value, State> mapper) Stream<StoreChange<Value>>
Stream of changes of values state
dispose() → void
Disposes internal state Observable
initialize(State state) → void
Initializes internal state Observable
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updates<Value>(StoreMapper<Value, State> mapper) Stream<Value>
Stream of new values in state
updateState(State update) → void
Updates current state

Operators

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