onError property
Callback function which will be called when the error occurs.
Implementation
final void Function(dynamic error, StackTrace stackTrace)? onError;
Callback function which will be called when the error occurs.
final void Function(dynamic error, StackTrace stackTrace)? onError;