WidgetExtra.fromJson constructor

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

Implementation

WidgetExtra.fromJson(Map<String, dynamic> json) {
  directCardCompany = json["direct_card_company"] ?? "-1";
  directCardQuota = json["direct_card_quota"] ?? 0;
  cardQuota = json["card_quota"] ?? 0;
}