CreditCardMdl.fromJson constructor

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

Implementation

CreditCardMdl.fromJson(Map<String, dynamic> json) {
  expiryMonth = json['expiryMonth'];
  expiryYear = json['expiryYear'];
  holderName = json['holderName'];
  number = json['number'];
  cvc = json['cvc'];
}