Ndef class
The class provides access to NDEF operations on the tag.
Acquire Ndef
instance using Ndef.from
.
Constructors
Properties
-
additionalData
→ Map<
String, dynamic> -
The value represents some additional data.
final
- cachedMessage → NdefMessage?
-
The value from Ndef#cachedNdefMessage on Android, NFCNDEFTag#read on iOS.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isWritable → bool
-
The value from Ndef#isWritable on Android, NFCNDEFTag#queryStatus on iOS.
final
- maxSize → int
-
The value from Ndef#maxSize on Android, NFCNDEFTag#queryStatus on iOS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< NdefMessage> - Read the current NDEF message on this tag.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
NdefMessage message) → Future< void> - Write the NDEF message on this tag.
-
writeLock(
) → Future< void> - Change the NDEF status to read-only.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited