verifyNoStatesEmitted method

void verifyNoStatesEmitted()

Verifies that no states have been emitted (only initial state exists).

Implementation

void verifyNoStatesEmitted() {
  _checkNotDisposed();
  expect(
    emittedStates,
    isEmpty,
    reason: 'Expected no states to be emitted, but found: $emittedStates',
  );
}