onError property Null safety

(void Function(ChatError error)?) onError
final

Implementation

final void Function(ChatError error)? onError;