onError property

void Function(Object, StackTrace)? onError
final

fires on errors

Implementation

final void Function(Object, StackTrace)? onError;