NFCTag class Null safety

Metadata of the polled NFC tag.

All fields except type and standard are in the format of hex string. Fields that cannot be read will be empty.

Annotations

Constructors

NFCTag(NFCTagType type, String id, String standard, String? atqa, String? sak, String? historicalBytes, String? protocolInfo, String? applicationData, String? hiLayerResponse, String? manufacturer, String? systemCode, String? dsfId, bool ndefAvailable, String? ndefType, int? ndefCapacity, bool? ndefWritable, bool? ndefCanMakeReadOnly)
NFCTag.fromJson(Map<String, dynamic> json)
factory

Properties

applicationData String?
Application data (Type B only)
final
atqa String?
ATQA (Type A only, Android only)
final
dsfId String?
DSF ID (ISO 15693 only, Android only)
final
hashCode int
The hash code for this object. [...]
read-only, inherited
hiLayerResponse String?
Higher layer response (ISO 14443-4B only, Android only)
final
historicalBytes String?
Historical bytes (ISO 14443-4A only)
final
id String
Tag ID
final
manufacturer String?
Manufacturer (ISO 18092 only)
final
ndefAvailable bool
NDEF availability
final
ndefCanMakeReadOnly bool?
Indicates whether this NDEF tag can be made read-only (only works on Android, always false on iOS)
final
ndefCapacity int?
Maximum NDEF message size in bytes (only meaningful when ndef available)
final
ndefType String?
NDEF tag type (Android only)
final
ndefWritable bool?
NDEF writebility
final
protocolInfo String?
Protocol information (Type B only, Android only)
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sak String?
SAK (Type A only, Android only)
final
standard String
The standard that the tag complies with (can be unknown)
final
systemCode String?
System code (ISO 18092 only)
final
type NFCTagType
Tag Type
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited