onError property
Optional error handler called when a listener throws an exception
Implementation
void Function(Object error, StackTrace stackTrace)? onError;
Optional error handler called when a listener throws an exception
void Function(Object error, StackTrace stackTrace)? onError;