CardInfo class
What the card reader produced.
Constructors
- CardInfo({required String track2, EnPanEntryMode entryMode = EnPanEntryMode.magneticStripRead, String? panSequenceNumber, Uint8List? iccData})
-
const
Properties
- entryMode → EnPanEntryMode
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iccData → Uint8List?
-
final
- maskedPan → String
-
no setter
- pan → String
-
no setter
- panSequenceNumber → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- track2 → String
-
The raw track 2: card number,
=, then expiry and issuer data.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFields(
{Uint8List? pinBlock}) → Map< int, Object?> -
The ISO fields a card-present message carries. Field 22 is the entry mode
plus one digit:
1when a PIN was entered,2when it was not. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited