CardBrand enum

Card brand reported by the reader / gateway. Lowercase short codes.

Inheritance
Available extensions

Values

visa → const CardBrand
const CardBrand('visa')
mastercard → const CardBrand
const CardBrand('mastercard')
amex → const CardBrand
const CardBrand('amex')
discover → const CardBrand
const CardBrand('discover')
jcb → const CardBrand
const CardBrand('jcb')
diners → const CardBrand
const CardBrand('diners')
unionpay → const CardBrand
const CardBrand('unionpay')
interac → const CardBrand
const CardBrand('interac')
unknown → const CardBrand
const CardBrand('unknown')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wire → String
final

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

Static Methods

fromWire(String? value) → CardBrand

Constants

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