onError property

void Function(String)? onError
final

Callback when an error occurs

Implementation

final void Function(String)? onError;