WatchFaceStore.fromJson constructor

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

Implementation

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