SimpleReduxBloc<S, T> class
abstract
A convenience ReduxBloc class that handles the stream mapping bits for you. Subclasses can simply override middleware, reducer, and afterware to add their implementations.
- Implemented types
-
- ReduxBloc<
S, T>
- ReduxBloc<
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialPrivateState → T
-
no setterinherited
- initialState → S
-
no setterinherited
- moduleName → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
afterware(
DispatchFunction dispatcher, ReduxState state, ReduxAction action) → FutureOr< ReduxAction> -
applyAfterware(
Stream< WareContext> input) → Stream<WareContext> -
override
-
applyMiddleware(
Stream< WareContext> input) → Stream<WareContext> -
override
-
applyReducer(
Stream< Accumulator> input) → Stream<Accumulator> -
override
-
dispose(
) → void -
override
-
initBloc(
) → void -
inherited
-
middleware(
DispatchFunction dispatcher, ReduxState state, ReduxAction action) → FutureOr< ReduxAction> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
privateReducer(
ReduxAction action, S state, T privateState) → T -
reducer(
ReduxAction action, S state, T privateState) → S -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited