dispatch method
ActionState
dispatch(
- SynchronousReduxAction<
ActionService, ActionState, dynamic> action, { - String? debugOrigin,
inherited
Dispatches a synchronous action and updates the state. Returns the new state.
Implementation
T dispatch(
SynchronousReduxAction<N, T, dynamic> action, {
String? debugOrigin,
}) {
return _notifier.dispatch(
action,
debugOrigin: debugOrigin ?? debugLabel,
debugOriginRef: this,
);
}