WatchFaceInfo.fromJson constructor

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

Implementation

factory WatchFaceInfo.fromJson(Map<String, dynamic> json) => WatchFaceInfo(
      total: json["total"],
      prePage: json["prePage"],
      pageIndex: json["pageIndex"],
      list: List<WatchFaceBean>.from(json["list"].map((x) => WatchFaceBean.fromJson(x))),
    );