NfcTag class final

Represents the tag discovered by the NFC session.

When the session discovers a tag, onDiscovered callback is called with an instance of this class. Use this generic instance to instantiate a specific tag class and perform tag-specific operations.

Constructors

NfcTag({required Object data})
Constructs an instance of this class for given data for testing.
const

Properties

data Object
The raw data obtained from the native platform.
final
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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