toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.dash != null) data["dash"] = this.dash?.toJson();
if (this.hls != null) data["hls"] = this.hls?.toJson();
if (this.progressive != null)
data["progressive"] = this.progressive?.map((e) => e.toJson()).toList();
return data;
}