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