sendMiFareCommand method

Future<Uint8List> sendMiFareCommand(
  1. Uint8List commandPacket
)

Sends the native MiFare command to the tag.

This uses NFCMiFareTag#sendMiFareCommand API on iOS.

Implementation

Future<Uint8List> sendMiFareCommand(Uint8List commandPacket) async {
  return channel.invokeMethod('MiFare#sendMiFareCommand', {
    'handle': _tag.handle,
    'commandPacket': commandPacket,
  }).then((value) => value!);
}