cardConnect static method
Connects to the card using the specified reader.
Implementation
static Future<CardStruct> cardConnect(int context, String reader,
PcscShare share, PcscProtocol protocol) async {
return CardStruct.fromMap(await _platform.cardConnect(
context, reader, shareToInt(share), protocolToInt(protocol)));
}