Cookie.fromJson constructor
Implementation
Cookie.fromJson(Map<String, dynamic> json) {
if (json["volume"] is int) this.volume = json["volume"];
if (json["captions_styles"] is Map)
this.captionsStyles = json["captions_styles"] == null
? null
: CaptionsStyles.fromJson(json["captions_styles"]);
if (json["scaling"] is int) this.scaling = json["scaling"];
this.captions = json["captions"];
this.quality = json["quality"];
if (json["hd"] is int) this.hd = json["hd"];
}