dispatch<St> static method
FutureOr<ActionStatus>
dispatch<St>(
- BuildContext context,
- ReduxAction<
St> action, { - Object? debug,
Dispatch an action without a StoreConnector,
and get a Future<void>
which completes when the action is done.
Implementation
static FutureOr<ActionStatus> dispatch<St>(
BuildContext context,
ReduxAction<St> action, {
Object? debug,
}) =>
of<St>(context, debug).dispatch(action);