TypedReduxBloc<S, T> class abstract

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

Inheritance

Constructors

TypedReduxBloc()

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>
override
applyAfterware(Stream<WareContext> input) Stream<WareContext>
inherited
applyMiddleware(Stream<WareContext> input) Stream<WareContext>
inherited
applyReducer(Stream<Accumulator> input) Stream<Accumulator>
inherited
dispose() → void
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 nonexistent 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