UChargeInternet.fromMap constructor

UChargeInternet.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UChargeInternet.fromMap(Map<String, dynamic> json) => UChargeInternet(
  operator: json["operator"],
  title: json["title"],
  logo: json["logo"],
  preDefinedAmountsList: json["preDefinedAmountsList"] == null
      ? <UChargeInternetPreDefinedAmounts>[]
      : List<UChargeInternetPreDefinedAmounts>.from(json["preDefinedAmountsList"]!.map((dynamic x) => UChargeInternetPreDefinedAmounts.fromMap(x))),
);