onError property

void Function(Object error)? onError
final

Called on error.

Implementation

final void Function(Object error)? onError;