isEqual method
Checks if this record is equal to other by comparing TNF, type, ID, and payload.
Implementation
bool isEqual(NDEFRecord other) {
return tnf == other.tnf &&
ByteUtils.bytesEqual(type!, other.type) &&
ByteUtils.bytesEqual(id, other.id) &&
ByteUtils.bytesEqual(payload, other.payload);
}