Progressive.fromJson constructor

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

Implementation

Progressive.fromJson(Map<String, dynamic> json) {
  if (json["profile"] is String) this.profile = json["profile"];
  if (json["width"] is int) this.width = json["width"];
  if (json["mime"] is String) this.mime = json["mime"];
  if (json["fps"] is int) this.fps = json["fps"];
  if (json["url"] is String) this.url = json["url"];
  if (json["cdn"] is String) this.cdn = json["cdn"];
  if (json["quality"] is String) this.quality = json["quality"];
  if (json["id"] is String) this.id = json["id"];
  if (json["origin"] is String) this.origin = json["origin"];
  if (json["height"] is int) this.height = json["height"];
}