dispatch method

T dispatch(
  1. SynchronousReduxAction<ReduxNotifier<T>, T, dynamic> action, {
  2. String? debugOrigin,
})

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);
}