toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.website != null) {
json[r'website'] = this.website;
} else {
json[r'website'] = null;
}
if (this.gallery != null) {
json[r'gallery'] = this.gallery;
} else {
json[r'gallery'] = null;
}
if (this.translationsDe != null) {
json[r'translations_de'] = this.translationsDe;
} else {
json[r'translations_de'] = null;
}
if (this.translationsEn != null) {
json[r'translations_en'] = this.translationsEn;
} else {
json[r'translations_en'] = null;
}
if (this.translationsFr != null) {
json[r'translations_fr'] = this.translationsFr;
} else {
json[r'translations_fr'] = null;
}
if (this.translationsIt != null) {
json[r'translations_it'] = this.translationsIt;
} else {
json[r'translations_it'] = null;
}
if (this.backlinkUrls != null) {
json[r'backlink_urls'] = this.backlinkUrls;
} else {
json[r'backlink_urls'] = null;
}
if (this.arbuttonConfig != null) {
json[r'arbutton_config'] = this.arbuttonConfig;
} else {
json[r'arbutton_config'] = null;
}
return json;
}