transceive method

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

Sends the NfcA command to the tag.

This uses NfcA#transceive API on Android.

Implementation

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