stopScanning static method

Future<String> stopScanning()

Stop barcode scanning

Implementation

static Future<String> stopScanning() async {
  try {
    final String result = await _channel.invokeMethod('stopScanning');
    return result;
  } on PlatformException catch (e) {
    throw Exception('Failed to stop scanning: ${e.message}');
  }
}