CustomerWithCard.fromJson constructor
Implementation
factory CustomerWithCard.fromJson(Map<String, dynamic> json) => CustomerWithCard(
dealerCustomer: json["DealerCustomer"] == null ? null : Customer.fromJson(json["DealerCustomer"]),
cardListCount: json["CardListCount"],
cardList: json["CardList"] == null ? [] : List<Card>.from(json["CardList"]!.map((x) => Card.fromJson(x))),
);