call method
State
call(
- State state,
- dynamic action
Implementation
State call(State state, dynamic action) {
if (action is Action) {
return reducer(state, action);
}
return state;
}