dispatchTakeResult<R2> method

R2 dispatchTakeResult<R2>(
  1. BaseReduxActionWithResult<GraphService, GraphState, R2> action, {
  2. String? debugOrigin,
})
inherited

Dispatches an action and updates the state. Returns only the result of the action.

Implementation

R2 dispatchTakeResult<R2>(
  BaseReduxActionWithResult<N, T, R2> action, {
  String? debugOrigin,
}) {
  return _notifier.dispatchTakeResult<R2>(
    action,
    debugOrigin: debugOrigin ?? debugLabel,
    debugOriginRef: this,
  );
}