privateReducer method
Implementation
@override
T privateReducer(ReduxAction action, S state, T privateState) {
T newState = privateState;
_privateReducerMap.forEach((Type type, TypedPrivateReducerFunction<S, T> callback) {
if (action.runtimeType == type.runtimeType) {
newState = callback(action, state, newState);
}
});
return newState;
}