DefaultStore<S> class

A canonical redux-like store object with listeners.

Implemented types
Available Extensions

Constructors

DefaultStore(S _state)
Constructs a default store from the provided state.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → S
Returns the current state.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(Observer<S> observer) Disposable
Subscribes with the provided observer.
override
toString() String
A string representation of this object.
inherited
update(Updater<S> updater) → S
Updates the current state.
override

Operators

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