onError property

void Function(Object? e)? onError
final

Callback to execute if the event encounters an error.

Implementation

final void Function(Object? e)? onError;