startScanning static method
Start barcode scanning (soft trigger)
Implementation
static Future<String> startScanning() async {
try {
final String result = await _channel.invokeMethod('startScanning');
return result;
} on PlatformException catch (e) {
throw Exception('Failed to start scanning: ${e.message}');
}
}