onError property

dynamic Function(Map error)? onError
final

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

Implementation

final Function(Map error)? onError;