onError property

void Function(Object error)? onError
final

Called if any condition throws an error.

Implementation

final void Function(Object error)? onError;