NFCTag class
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
-
- @JsonSerializable()
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, String? webUSBCustomProbeData, MifareInfo? mifareInfo)
-
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.
no setterinherited
- 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 (can be
unknown
)final - manufacturer → String?
-
Manufacturer (ISO 18092 only)
final
- mifareInfo → MifareInfo?
-
Mifare-related information (if available)
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.
no setterinherited
- 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
- webUSBCustomProbeData → String?
-
Custom probe data returned by WebUSB device (see FlutterNfcKitWeb for detail, only on Web)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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