dispatchAsyncTakeResult<R2> method
Future<R2>
dispatchAsyncTakeResult<R2>(
- BaseAsyncReduxActionWithResult<
ActionService, ActionState, R2> action, { - String? debugOrigin,
inherited
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 ?? debugLabel,
debugOriginRef: this,
);
}