dispatchAsync method
Dispatches an asynchronous action and updates the state. Returns the new state.
Implementation
Future<T> dispatchAsync(
AsynchronousReduxAction<N, T, dynamic> action, {
String? debugOrigin,
}) {
return notifier.dispatchAsync(
action,
debugOrigin: debugOrigin ?? this.debugOrigin,
debugOriginRef: debugOriginRef,
);
}