afterware method
FutureOr<ReduxAction>
afterware(
- DispatchFunction dispatcher,
- ReduxState state,
- ReduxAction action
override
Implementation
@override
FutureOr<ReduxAction> afterware(dispatcher, ReduxState state, ReduxAction action) {
_afterwareMap.forEach((Type type, TypedMiddlewareFunction callback) {
if (action.runtimeType == type.runtimeType) {
callback(dispatcher, state, action);
}
});
return action;
}