onError property

void Function(AIError error)? onError
final

Callback on error.

Implementation

final void Function(AIError error)? onError;