CardTokenInfoResponse.fromMap constructor
CardTokenInfoResponse.fromMap(
- Map<String, dynamic> json
)
Implementation
factory CardTokenInfoResponse.fromMap(Map<String, dynamic> json) => CardTokenInfoResponse(
paymentToken: json["paymentToken"] == null ? null : json["paymentToken"],
cardTokens: json["cardTokens"] == null ? null : List<CardTokenInfo>.from(json["cardTokens"].map((x) => CardTokenInfo.fromMap(x))),
responseCode: json["responseCode"] == null ? null : json["responseCode"],
responseDescription: json["responseDescription"] == null ? null : json["responseDescription"],
);