onError abstract method

  1. @visibleForOverriding
void onError(
  1. Object error, [
  2. StackTrace? stackTrace
])

A method that handles error events that are passed to the sink.

Implementation

@visibleForOverriding
void onError(Object error, [StackTrace? stackTrace]);