state manager

Implemented by

Constructors

Store(InitialStateProvider initialStateProvider)

get initialState & init history$ stream

Properties

asyncHistoryController → StreamController<AsyncCommand<M>>

command stream controller

read / write
hashCode → int

Get a hash code for this object.

read-only, inherited
historyController → StreamController<Command<M>>

command stream controller

read / write
initialStateProvider InitialStateProvider

initial state provider function cf. InitialStateProvider

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
state$ → Stream<M>

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited
update(Command<M> c) → void

model update request via a new command command is added to history$

updateAsync(AsyncCommand<M> c) → void