LookupData class

Holds metadata about a payment card or BIN (bank identification number).

Constructors

LookupData({String? brand, String? cardType, String? firstSixDigits, String? issuer, String? issuerCountry, String? issuerCountryCode, String? product})
LookupData.fromJson(Map<String, dynamic> json)
Creates an instance of LookupData from a JSON map.
factory

Properties

brand → String?
The recognized brand of the card (e.g., "Visa", "Mastercard").
final
cardType → String?
The type of the card (e.g., "Credit", "Debit").
final
firstSixDigits → String?
The first six digits of the card number, typically used for BIN lookups.
final
hashCode → int
The hash code for this object.
no setterinherited
issuer → String?
The name of the issuing bank or institution.
final
issuerCountry → String?
The country name of the issuing bank (e.g., "United States").
final
issuerCountryCode → String?
The two-letter country code (ISO 3166-1 alpha-2) of the issuer (e.g., "US").
final
product → String?
The product or category of the card (e.g., "Gold", "Platinum").
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
toJson() → Map<String, dynamic>
Converts this instance of LookupData to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

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