NDEFRecordFlags class

Represent the flags in the header of a NDEF record.

Constructors

NDEFRecordFlags({int? data})
Constructs NDEFRecordFlags with optional data to decode.

Properties

CF ↔ bool
Chunk Flag
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
IL ↔ bool
ID Length */
getter/setter pair
MB ↔ bool
Message Begin
getter/setter pair
ME ↔ bool
Message End
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SR ↔ bool
Short Record */
getter/setter pair
TNF ↔ int
Type Name Format */
getter/setter pair

Methods

decode(int? data) → void
Decodes the flags from a single byte data.
encode() → int
Encodes the flags into a single byte.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetPositionFlag() → void
Resets the Message Begin (MB) and Message End (ME) flags to false.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited