cardConnect static method

Future<CardStruct> cardConnect(
  1. int context,
  2. String reader,
  3. PcscShare share,
  4. PcscProtocol protocol,
)

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)));
}