fromRaw static method
Convert an NDEFRawRecord to decoded ndef.NDEFRecord
.
Use NDEFRecordConvert.fromRaw
to invoke.
Implementation
static ndef.NDEFRecord fromRaw(NDEFRawRecord raw) {
return ndef.decodePartialNdefMessage(
raw.typeNameFormat, raw.type.toBytes(), raw.payload.toBytes(),
id: raw.identifier == "" ? null : raw.identifier.toBytes());
}