TypedReduxBloc<S, T> class

To reduce if judgment, you can register specific types of action handlers

Inheritance

Constructors

TypedReduxBloc()

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>
override
applyAfterware(Stream<WareContext> input) Stream<WareContext>
inherited
applyMiddleware(Stream<WareContext> input) Stream<WareContext>
inherited
applyReducer(Stream<Accumulator> input) Stream<Accumulator>
inherited
dispose() → void
@mustCallSuper, inherited
initAfterware() → void
Will be called during initialization
initBloc() → void
override
initMiddleware() → void
Will be called during initialization
initPrivateReducer() → void
Will be called during initialization
initReducer() → void
Will be called during initialization
middleware(DispatchFunction dispatcher, ReduxState state, ReduxAction action) FutureOr<ReduxAction>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
privateReducer(ReduxAction action, S state, T privateState) → T
override
reducer(ReduxAction action, S state, T privateState) → S
override
registerAfterware(Type actionType, TypedMiddlewareFunction callback) → void
register afterware
registerMiddleware(Type actionType, TypedMiddlewareFunction callback) → void
register middleware
registerPrivateReducer(Type actionType, TypedPrivateReducerFunction<S, T> callback) → void
register private reducer
registerReducer(Type actionType, TypedReducerFunction<S, T> callback) → void
register reducer
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited