verifyStatesEmittedInOrder method

void verifyStatesEmittedInOrder(
  1. List<T> expectedStates
)

Verifies that states were emitted in the specified order.

Implementation

void verifyStatesEmittedInOrder(List<T> expectedStates) {
  _checkNotDisposed();
  expect(
    emittedStates,
    equals(expectedStates),
    reason: 'States were not emitted in the expected order',
  );
}