updateStateWithError method

  1. @protected
void updateStateWithError(
  1. Object error
)

Emit a state with error

Implementation

@protected
void updateStateWithError(Object error) {
  _lastEmittedError = error;
  _controller.addError(StateSnapshot<T>(null, error));
}