verifyStatesEmittedInOrder method
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',
);
}