imgScan static method
Implementation
static Future<String?> imgScan(File file) async {
if (file.existsSync() == false) {
return null;
}
try {
final rest =
await _channel.invokeMethod("imgQrCode", {"file": file.path});
return rest;
} catch (e) {
print(e);
return null;
}
}