onError method Null safety

FutureOr<void> onError(
  1. Object error,
  2. StackTrace trace,
  3. Event event
)

Implementation

FutureOr<void> onError(Object error, StackTrace trace, Event event) async {
  throw error;
}