onError property

void Function(Map error)? onError
final

The Function And The Reason Of The Error, If Any Error Happen.

Implementation

final void Function(Map error)? onError;