BrandListResult.fromJson constructor

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

Implementation

factory BrandListResult.fromJson(Map<String, dynamic> json) =>
    BrandListResult(
      lists: List<ListElement>.from(
          json["lists"].map((x) => ListElement.fromJson(x))),
      pageSize: json["pageSize"],
      currentPage: json["currentPage"],
      totalCount: json["totalCount"],
    );