dispatch method

FutureOr<ActionStatus> dispatch(
  1. ReduxAction<St> action, {
  2. bool notify = true,
})

Runs the action, applying its reducer, and possibly changing the store state. Note: dispatch is of type Dispatch.

Implementation

FutureOr<ActionStatus> dispatch(ReduxAction<St> action, {bool notify = true}) =>
    _dispatch(action, notify: notify);