transceive method

Future<Uint8List> transceive({
  1. required Uint8List data,
})

Sends the NfcA command to the tag.

This uses MifareUltralight#transceive API on Android. This is equivalent to obtaining via NfcA.from this tag and calling NfcA#transceive.

Implementation

Future<Uint8List> transceive({
  required Uint8List data,
}) async {
  return channel.invokeMethod('MifareUltralight#transceive', {
    'handle': _tag.handle,
    'data': data,
  }).then((value) => value!);
}