WatchFace.fromJson constructor

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

Implementation

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