sendMiFareIso7816CommandRaw method

Future<Iso7816ResponseApdu> sendMiFareIso7816CommandRaw(
  1. Uint8List data
)

Sends the ISO7816 APDU to the tag.

This uses NFCMiFareTag#sendMiFareISO7816Command API on iOS.

Implementation

Future<Iso7816ResponseApdu> sendMiFareIso7816CommandRaw(
    Uint8List data) async {
  return channel.invokeMethod('MiFare#sendMiFareIso7816CommandRaw', {
    'handle': _tag.handle,
    'data': data,
  }).then((value) => $GetIso7816ResponseApdu(Map.from(value)));
}