SimpleReduxBloc<S, T> class

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
Implementers

Constructors

SimpleReduxBloc()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
initialPrivateState → T
read-only, inherited
initialState → S
read-only, inherited
moduleName String
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
@mustCallSuper, override
initBloc() → void
inherited
middleware(DispatchFunction dispatcher, ReduxState state, ReduxAction action) FutureOr<ReduxAction>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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