callScannerDestroy method

void callScannerDestroy(
  1. int scannerAddress
)

Implementation

void callScannerDestroy(int scannerAddress) {
  _checkNotDisposed();
  final instance = _current?.instance;
  if (instance == null) return;
  try {
    instance.scannerDestroy(scannerAddress);
  } catch (_) {
    _hasError = true;
  }
}