PaymentCard.fromJson constructor

PaymentCard.fromJson(
  1. Map<String, dynamic> json
)

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"],
  );