listen to dispatcher's stream of actions and map them to commands, executed on the store
Constructors
- Commander(CommanderConfig config, Store<AbstractModel> store, Stream<Request> requestStream)
-
CommanderConfig config / Store
this.store Stream
requestStream
Properties
- config → CommanderConfig
-
commander config : RequestType ยป Commands mapping
read / write - hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - store → Store<AbstractModel>
-
store
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
cancel(
) → dynamic -
cancel last store command
-
exec(
Request a) → dynamic -
update store with Command defined by Request
-
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