CreditCard class

Constructors

CreditCard({int number, int verificationValue, String firstName, String lastName, int month, int year})
CreditCard.fromJson(String source)
factory
CreditCard.fromMap(Map<String, dynamic> map)
factory

Properties

firstName String
Nome do Cliente como está no Cartão
read / write
hashCode int
The hash code for this object. [...]
read-only, override
lastName String
Sobrenome do Cliente como está no Cartão
read / write
month int
Mês de Vencimento no Formato MM (Ex: 01, 02, 12)
read / write
number int
Número do Cartão de Crédito
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
verificationValue int
CVV do Cartão de Crédito
read / write
year int
Ano de Vencimento no Formato YYYY (2014, 2015, 2016)
read / write

Methods

copyWith({int number, int verificationValue, String firstName, String lastName, int month, int year}) CreditCard
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override