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
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
lastName String?
Sobrenome do Cliente como está no Cartão
getter/setter pair
month int?
Mês de Vencimento no Formato MM (Ex: 01, 02, 12)
getter/setter pair
number int?
Número do Cartão de Crédito
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verificationValue int?
CVV do Cartão de Crédito
getter/setter pair
year int?
Ano de Vencimento no Formato YYYY (2014, 2015, 2016)
getter/setter pair

Methods

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

Operators

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