HalfPriceInfo.fromJson constructor

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

Implementation

factory HalfPriceInfo.fromJson(Map<String, dynamic> json) => HalfPriceInfo(
      banner: json["banner"],
      list: List<ListElement>.from(
          json["list"].map((x) => ListElement.fromJson(x))),
    );