CardInfoResponse.fromJson constructor

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

Implementation

CardInfoResponse.fromJson(Map<String, dynamic> json) {
  number = json["Number"] ?? json["number"];
  expiryMonth = json["ExpiryMonth"] ?? json["expiryMonth"];
  expiryYear = json["ExpiryYear"] ?? json["expiryYear"];
  brand = json["Brand"] ?? json["brand"];
  issuer = json["Issuer"] ?? json["issuer"];
}