onError property

void Function(Object e, StackTrace stack)? onError
final

Error handling callback for exceptions.

Implementation

final void Function(Object e, StackTrace stack)? onError;