error method

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

Receives the error.

Implementation

@override
@nonVirtual
void error(Object error, StackTrace stackTrace) {
  if (isDisposed) return;
  onError(error, stackTrace);
}