dispatchAsync method

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

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

Implementation

Future<ActionStatus> dispatchAsync(ReduxAction<St> action, {bool notify = true}) =>
    Future.value(_dispatch(action, notify: notify));