dispatchAsyncTakeResult<R2> method
Future<R2>
dispatchAsyncTakeResult<R2>(
- BaseAsyncReduxActionWithResult<
N, T, R2> action, { - String? debugOrigin,
Dispatches an asynchronous action and updates the state. Returns only the result of the action.
Implementation
Future<R2> dispatchAsyncTakeResult<R2>(
BaseAsyncReduxActionWithResult<N, T, R2> action, {
String? debugOrigin,
}) {
return notifier.dispatchAsyncTakeResult<R2>(
action,
debugOrigin: debugOrigin ?? this.debugOrigin,
debugOriginRef: debugOriginRef,
);
}