toRaw method

NDEFRawRecord toRaw()

Convert an ndef.NDEFRecord to encoded NDEFRawRecord

Implementation

NDEFRawRecord toRaw() {
  return NDEFRawRecord(id?.toHexString() ?? '', payload?.toHexString() ?? '',
      type?.toHexString() ?? '', tnf);
}