emittedStates property

List<T> get emittedStates

List of all states that have been emitted (excluding initial state). Returns a copy to prevent external modification.

Implementation

List<T> get emittedStates {
  _checkNotDisposed();
  return _stateHistory.length > 1
      ? List<T>.unmodifiable(_stateHistory.skip(1))
      : <T>[];
}