ProductListResult.fromJson constructor

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

Implementation

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