Reducer
A reducer specifies how the application's state changes in response to actions sent to the store.
Implementation
typedef Reducer<S> = S Function(S state, Action action);
A reducer specifies how the application's state changes in response to actions sent to the store.
typedef Reducer<S> = S Function(S state, Action action);