isSagaDispatchedAction function

bool isSagaDispatchedAction(
  1. dynamic action
)

Checks whether an action is dispatched by a Saga before

It only works for action types implementing SagaAction

Implementation

bool isSagaDispatchedAction(dynamic action) =>
    (action is SagaAction) && (action.dispatched == true);