WatchFaceStoreTagInfo.fromJson constructor

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

Implementation

factory WatchFaceStoreTagInfo.fromJson(Map<String, dynamic> json) => WatchFaceStoreTagInfo(
      tagId: json["tagId"] ?? -1,
      tagName: json["tagName"] ?? "",
      list: List<WatchFaceStoreItem>.from((json["list"] ?? []).map((x) => WatchFaceStoreItem.fromJson(x))),
    );