onError property

void Function(dynamic)? onError
getter/setter pair

error handler

Implementation

void Function(dynamic)? onError;