getDetector method
Implementation
Future<IBarcodeDetector> getDetector() async => isDesktop ? zxing.BarcodeDetector() : mlkit.BarcodeDetector();
Future<IBarcodeDetector> getDetector() async => isDesktop ? zxing.BarcodeDetector() : mlkit.BarcodeDetector();