SavedCardsModel.fromJson constructor
Implementation
factory SavedCardsModel.fromJson(Map<String, dynamic> json) =>
SavedCardsModel(
success: json["success"],
code: json["code"],
description: json["description"],
data: json["data"] == null
? []
: List<CardData>.from(
json["data"]!.map((x) => CardData.fromJson(x))),
);