onError property

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

Called with errors (network, no interactions left, a line the server did not count). A line the server did not count is not shown.

Implementation

void Function(Object error)? onError;