scanCard static method
Implementation
static Future<ScannedCardModel?> scanCard({ScanOptions? scanOptions}) async {
scanOptions ??= ScanOptions();
final scanResult = await _channel.invokeMapMethod<String, dynamic>(
'scan_card', scanOptions.map);
if (scanResult != null) return ScannedCardModel.fromJson(scanResult);
return null;
}