CardBrand enum

The card brand. This is used to declare the preferred network in the UI

Inheritance

Constructors

CardBrand(int brandValue)
const

Values

JCB → const CardBrand

JCB cards

const CardBrand(0)
Amex → const CardBrand

American Express cards

const CardBrand(1)
CartesBancaires → const CardBrand

Cartes Bancaires

const CardBrand(2)
DinersClub → const CardBrand

Diners Club cards

const CardBrand(3)
Discover → const CardBrand

Discover cards

const CardBrand(4)
Mastercard → const CardBrand

Mastercard cards

const CardBrand(5)
UnionPay → const CardBrand

UnionPay cards

const CardBrand(6)
Visa → const CardBrand

Visa cards

const CardBrand(7)
Unknown → const CardBrand

Unknown or not supported

const CardBrand(8)

Properties

brandValue int
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<CardBrand>
A constant List of the values in this enum, in order of their declaration.