dispatchTakeResult<R> method

R dispatchTakeResult<R>(
  1. BaseReduxActionWithResult<ReduxNotifier<T>, T, R> action, {
  2. String? debugOrigin,
})

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

Implementation

R dispatchTakeResult<R>(
  BaseReduxActionWithResult<ReduxNotifier<T>, T, R> action, {
  String? debugOrigin,
}) {
  return notifier.dispatchTakeResult(action, debugOrigin: debugOrigin);
}