onError property

dynamic Function(String)? onError
final

Callback when there's an error

Implementation

final Function(String)? onError;