dispatchAsyncWithResult<R> method
Future<(T, R)>
dispatchAsyncWithResult<R>(
- BaseAsyncReduxActionWithResult<
ReduxNotifier< action, {T> , T, R> - String? debugOrigin,
Dispatches an asynchronous action and updates the state. Returns the new state along with the result of the action.
Implementation
Future<(T, R)> dispatchAsyncWithResult<R>(
BaseAsyncReduxActionWithResult<ReduxNotifier<T>, T, R> action, {
String? debugOrigin,
}) {
return notifier.dispatchAsyncWithResult(action, debugOrigin: debugOrigin);
}