decodePartialNdefMessage function

NDEFRecord decodePartialNdefMessage(
  1. TypeNameFormat tnf,
  2. Uint8List type,
  3. Uint8List payload, {
  4. Uint8List? id,
})

Decode a NDEF record, providing its parts separately. This is most useful in mobile environment because the APIs will give you these information in a separate manner.

Implementation

NDEFRecord decodePartialNdefMessage(
    TypeNameFormat tnf, Uint8List type, Uint8List payload,
    {Uint8List? id}) {
  var decoded = NDEFRecord.doDecode(tnf, type, payload, id: id);
  return decoded;
}