transmit static method

Future<List<int>> transmit(
  1. CardStruct card,
  2. List<int> commandBytes, {
  3. bool newIsolate = false,
})

Transmits an APDU to the card.

Implementation

static Future<List<int>> transmit(CardStruct card, List<int> commandBytes,
    {bool newIsolate = false}) {
  return _platform.transmit(
      card.hCard, protocolToInt(card.activeProtocol), commandBytes,
      newIsolate: newIsolate);
}