onError method

void onError(
  1. Exception error
)

Called when error has occurred
Note that this method always called on a worker thread

@param error Exception that has been thrown

Implementation

void onError(Exception error) {
  _scannerCallBack?.onError(error);
}