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