getSmartCards method

  1. @override
Future<List<ScardInfo>> getSmartCards()
override

Implementation

@override
Future<List<ScardInfo>> getSmartCards() async {
  final scards = await methodChannel.invokeMethod<Map>('getSmartCards');
  return scards?.entries.map((e) => ScardInfo.parse(MapEntry<String, dynamic>(e.key, e.value))).toList() ?? [];
}