CreditCard.fromMap constructor
Implementation
factory CreditCard.fromMap(Map<String, dynamic> map) {
return CreditCard(
number: map['number'],
verificationValue: map['verification_value'],
firstName: map['first_name'],
lastName: map['last_name'],
month: map['month'],
year: map['year'],
);
}