JieliSupportWatchFaceInfo.fromJson constructor

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

Implementation

factory JieliSupportWatchFaceInfo.fromJson(Map<String, dynamic> json) => JieliSupportWatchFaceInfo(
      displayWatchFace: json["displayWatchFace"] ?? -1,
      watchFaceMaxSize: json["watchFaceMaxSize"] ?? -1,
      supportTypeList: List<int>.from((json["supportTypeList"] ?? []).map((x) => x)),
    );