dispatchAsync method

Future<T> dispatchAsync(
  1. AsynchronousReduxAction<ReduxNotifier<T>, T, dynamic> action, {
  2. String? debugOrigin,
})

Dispatches an asynchronous action and updates the state. Returns the new state.

Implementation

Future<T> dispatchAsync(
  AsynchronousReduxAction<ReduxNotifier<T>, T, dynamic> action, {
  String? debugOrigin,
}) async {
  return notifier.dispatchAsync(action, debugOrigin: debugOrigin);
}