onError property

void Function(dynamic error)? onError
getter/setter pair

Implementation

void Function(dynamic error)? onError;