transceive method

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

Sends the NfcB command to the tag.

This uses NfcB#transceive API on Android.

Implementation

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