RecommendWatchFaceBean.fromJson constructor

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

Implementation

factory RecommendWatchFaceBean.fromJson(Map<String, dynamic> json) => RecommendWatchFaceBean(
      id: json["id"] ?? -1,
      name: json["name"] ?? "",
      size: json["size"] ?? -1,
      preview: json["preview"] ?? "",
    );