toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.files != null) data["files"] = this.files?.toJson();
data["lang"] = this.lang;
if (this.sentry != null) data["sentry"] = this.sentry?.toJson();
if (this.thumbPreview != null)
data["thumb_preview"] = this.thumbPreview?.toJson();
data["referrer"] = this.referrer;
data["cookie_domain"] = this.cookieDomain;
data["timestamp"] = this.timestamp;
if (this.gcDebug != null) data["gc_debug"] = this.gcDebug?.toJson();
data["expires"] = this.expires;
if (this.textTracks != null)
data["text_tracks"] = this.textTracks?.map((e) => e.toJson()).toList();
if (this.client != null) data["client"] = this.client?.toJson();
data["currency"] = this.currency;
data["session"] = this.session;
if (this.cookie != null) data["cookie"] = this.cookie?.toJson();
if (this.build != null) data["build"] = this.build?.toJson();
if (this.urls != null) data["urls"] = this.urls?.toJson();
data["signature"] = this.signature;
if (this.flags != null) data["flags"] = this.flags?.toJson();
data["country"] = this.country;
if (this.fileCodecs != null)
data["file_codecs"] = this.fileCodecs?.toJson();
if (this.abTests != null) data["ab_tests"] = this.abTests?.toJson();
return data;
}