sendFeliCaCommand method

Future<Uint8List> sendFeliCaCommand(
  1. Uint8List commandPacket
)

Sends the FeliCa command packet data to the tag.

This uses NFCFeliCaTag#sendFeliCaCommand API on iOS.

Implementation

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