toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data["cdn_url"] = this.cdnUrl;
data["vimeo_api_url"] = this.vimeoApiUrl;
if (this.request != null) data["request"] = this.request?.toJson();
data["player_url"] = this.playerUrl;
if (this.video != null) data["video"] = this.video?.toJson();
if (this.user != null) data["user"] = this.user?.toJson();
if (this.seo != null) data["seo"] = this.seo?.toJson();
if (this.embed != null) data["embed"] = this.embed?.toJson();
data["view"] = this.view;
data["vimeo_url"] = this.vimeoUrl;
return data;
}