CardReaderPlugin mixin

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

active() Future<int?>
cancelReadCard() Future<bool?>
closePSAMCard(PsamId id) Future<int?>
decreaseValue(int sectorIndex, int blockOfSector, int value) Future<int?>
getAtr() Future<String?>
getMagCardData([int? keyIndex]) Future<CardInfo?>
halt() Future<int?>
increaseValue(int sectorIndex, int blockOfSector, int value) Future<int?>
isCardExists() Future<int?>
isRfCardExists() Future<int?>
isTrackEncrypt(bool isEncrypt) Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openPSAMCard(PsamId id) Future<int?>
powerOff() Future<int?>
powerOn() Future<OperationResult?>
readBlock(int sectorIndex, int blockOfSector) Future<OperationResult?>
readCard(String amount, String tradeTime, int tradeType, int swipeTimeout, CardReaderListener listener, [int? index]) Future<CardInfo?>
readMifareUltralightCard(int blockIndex) Future<OperationResult?>
readValue(int sectorIndex, int blockOfSector) Future<OperationResult?>
setReadCardConfig(bool msr, bool ic, bool rf) Future<void>
startSearchCard(bool msr, bool ic, bool rf, int timeout) Future<int?>
stopSearchCard() Future<int?>
toString() String
A string representation of this object.
inherited
transmitIC(Uint8List cmd) Future<OperationResult?>
transmitPSAM(PsamId id, Uint8List cmd) Future<OperationResult?>
transmitRF(Uint8List cmd) Future<OperationResult?>
verifyKeyA(int sectorIndex, Uint8List key) Future<int?>
verifyKeyB(int sectorIndex, Uint8List key) Future<int?>
writeBlock(int sectorIndex, int blockOfSector, Uint8List data) Future<int?>
writeMifareUltralightCard(int blockIndex, Uint8List data) Future<int?>
writeValue(int sectorIndex, int blockOfSector, Uint8List data) Future<int?>

Operators

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