PayMongoTokenAttributes.fromMap constructor
Implementation
factory PayMongoTokenAttributes.fromMap(Map<String, dynamic> map) {
return PayMongoTokenAttributes(
number: map['number'] ?? '',
expireMonth: map['expireMonth'] ?? 0,
expireYear: map['expireYear'] ?? 0,
cvc: map['cvc'] ?? '',
billing: PayMongoBilling.fromMap(map['billing']),
name: map['name'] ?? '',
email: map['email'] ?? '',
phone: map['phone'] ?? '',
);
}