supportsScanner<T extends BarcodeScanner> method

bool supportsScanner<T extends BarcodeScanner>()

Whether the scanner type is supported

Implementation

bool supportsScanner<T extends BarcodeScanner>() =>
    _onSupportScannerListener?.call<T>() ?? false;