Iso7816 class

The class provides access to NFCISO7816Tag API for iOS.

Acquire Iso7816 instance using Iso7816.from.

Constructors

Iso7816({required NfcTag tag, required Uint8List identifier, required String initialSelectedAID, required Uint8List? historicalBytes, required Uint8List? applicationData, required bool proprietaryApplicationDataCoding})
Constructs an instance with the given values for testing.
const

Properties

applicationData Uint8List?
The value from NFCISO7816Tag#applicationData on iOS.
final
hashCode int
The hash code for this object.
no setterinherited
historicalBytes Uint8List?
The value from NFCISO7816Tag#historicalBytes on iOS.
final
identifier Uint8List
The value from NFCISO7816Tag#identifier on iOS.
final
initialSelectedAID String
The value from NFCISO7816Tag#initialSelectedAID on iOS.
final
proprietaryApplicationDataCoding bool
The value from NFCISO7816Tag#proprietaryApplicationDataCoding 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
sendCommand({required int instructionClass, required int instructionCode, required int p1Parameter, required int p2Parameter, required Uint8List data, required int expectedResponseLength}) Future<Iso7816ResponseApdu>
Sends the APDU to the tag.
sendCommandRaw(Uint8List data) Future<Iso7816ResponseApdu>
Sends the APDU to the tag.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from(NfcTag tag) Iso7816?
Get an instance of Iso7816 for the given tag.