ValidatingStore<S> class
A delegating store that validates state access and updates.
- Implemented types
-
- Store<
S>
- Store<
- Available extensions
- AuditOperator
- BufferOperator
- CastOperator
- CatchErrorOperator
- CombineLatestOperator
- ComposeOperator
- ConcatOperator
- CountOperator
- DebounceOperator
- DefaultIfEmptyOperator
- DelayOperator
- DematerializeOperator
- DistinctOperator
- DistinctUntilChangedOperator
- ExhaustAllOperator
- ExhaustMapOperator
- FinalizeOperator
- FirstOperator
- FlatMapOperator
- FlattenObservable
- FoldOperator
- FutureStoreExtension
- IgnoreElementsOperator
- IsEmptyOperator
- LastOperator
- MapOperator
- MaterializeOperator
- MergeAllOperator
- MergeMapOperator
- MulticastOperator
- ObservableStoreExtension
- ObservableToFuture
- ObservableToStream
- ObserveOnOperator
- PairwiseOperator
- PublishOperator
- ReduceOperator
- RepeatOperator
- SampleOperator
- SingleOperator
- SkipOperator
- SkipUntilOperator
- SkipWhileOperator
- StreamStoreExtension
- SwitchAllOperator
- SwitchMapOperator
- TakeLastOperator
- TakeOperator
- TakeUntilOperator
- TakeWhileOperator
- TapOperator
- ThrottleOperator
- TimeoutOperator
- ToListOperator
- ToMapOperator
- ToSetOperator
- WhereOperator
- WhereTypeOperator
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