MiFare class

Mifare, as CoreNFC exposes it. iOS only.

Mifare Classic is absent on purpose: Apple does not let any app talk to those tags, so there is no iOS counterpart to MifareClassic.

Properties

family MiFareFamily
Which Mifare product this is, as far as CoreNFC could tell.
final
hashCode int
The hash code for this object.
no setterinherited
historicalBytes Uint8List?
The historical bytes, for a DESFire card that reported any. Null otherwise.
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
sendMiFareCommand(Uint8List commandPacket) Future<Uint8List>
Sends a native Mifare command.
sendMiFareIso7816Command({required int instructionClass, required int instructionCode, required int p1Parameter, required int p2Parameter, required Uint8List data, required int expectedResponseLength}) Future<Iso7816ResponseApdu>
Sends an ISO 7816 command APDU assembled from its fields.
sendMiFareIso7816CommandRaw(Uint8List data) Future<Iso7816ResponseApdu>
Sends an already-encoded ISO 7816 command APDU.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from(NfcTag tag) MiFare?
Returns an instance for tag, or null when the tag is not a Mifare card.