SupportWatchFaceInfo.fromJson constructor

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

Implementation

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