expectLatestDispatch method

void expectLatestDispatch(
  1. ACTION action
)

The latest action that was dispatched to the state machine.

Implementation

void expectLatestDispatch(ACTION action) {
  expect(_dispatchedActions.last, action);
}