stop static method

Future<void> stop()

Stop scanning

Implementation

static Future<void> stop() async {
  try {
    // Call stop() method without using its return value
    sunmi_scanner.SunmiScanner.stop();
  } catch (e) {
    throw Exception('Error stopping scanner: $e');
  }
}