ValidatingStore<S> class

A delegating store that validates state access and updates.

Implemented types
Available Extensions

Constructors

ValidatingStore(Store<S> delegate)
Constructs a validating store.

Properties

delegate Store<S>
The store to delegate operations to.
final
hashCode int
The hash code for this object.
no setterinherited
isUpdating bool
Flag indicating whether the store is currently being updated.
getter/setter pair
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