OpinionatedStoreBuilder<T> class
Builder for creating opinionated stores
Constructors
- OpinionatedStoreBuilder(T _initialState)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → OpinionatedStore< T> - Build the store
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withMiddleware(
void middleware(T oldState, T newState)) → OpinionatedStoreBuilder< T> - Add middleware
-
withSideEffect(
void sideEffect(T state)) → OpinionatedStoreBuilder< T> - Add side effect
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited