error method

  1. @override
void error(
  1. Object error,
  2. StackTrace stackTrace
)
override

Pass an error to the observer.

Implementation

@override
void error(Object error, StackTrace stackTrace) {
  if (!_hasCompleted) {
    super.error(error, stackTrace);
  }
}