dispatch method
Dispatches an action and updates the state. Returns the new state.
Implementation
T dispatch(
SynchronousReduxAction<ReduxNotifier<T>, T, dynamic> action, {
String? debugOrigin,
}) {
return notifier.dispatch(action, debugOrigin: debugOrigin);
}