SuperSearchResult.fromJson constructor

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

Implementation

factory SuperSearchResult.fromJson(Map<String, dynamic> json) => SuperSearchResult(
  totalNum: json["totalNum"],
  brandList: List<BrandList>.from(json["brandList"].map((x) => BrandList.fromJson(x))),
  list: List<Product>.from(json["list"].map((x) => Product.fromJson(x))),
  pageId: json["pageId"],
);