dispatchAsyncTakeResult<R2> method

Future<R2> dispatchAsyncTakeResult<R2>(
  1. BaseAsyncReduxActionWithResult<InspectorServer, ServerState, R2> action, {
  2. 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,
  );
}