onError property

void Function(String error)? onError
final

Callback on error

Implementation

final void Function(String error)? onError;