PaymentCard.fromJson constructor
Implementation
factory PaymentCard.fromJson(Map<String, dynamic> json) => PaymentCard(
type: json["type"] == null ? null : cardtypeValues.map![json["type"]],
number: json["number"],
month: json["month"],
year: json["year"],
cvv: json["cvv"],
);