Files.fromJson constructor
Implementation
Files.fromJson(Map<String, dynamic> json) {
if (json["dash"] is Map)
this.dash = json["dash"] == null ? null : Dash.fromJson(json["dash"]);
if (json["hls"] is Map)
this.hls = json["hls"] == null ? null : Hls.fromJson(json["hls"]);
if (json["progressive"] is List)
this.progressive = json["progressive"] == null
? null
: (json["progressive"] as List)
.map((e) => Progressive.fromJson(e))
.toList();
}