onError property
Called when an error occurs during the sequence.
If null, it will call Logger.severe instead.
Implementation
final void Function(Object error, StackTrace? stackTrace)? onError;
Called when an error occurs during the sequence.
If null, it will call Logger.severe instead.
final void Function(Object error, StackTrace? stackTrace)? onError;