toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.asyncUrlEnrichEnabled != null) {
json[r'async_url_enrich_enabled'] = this.asyncUrlEnrichEnabled;
} else {
json[r'async_url_enrich_enabled'] = null;
}
json[r'auto_translation_enabled'] = this.autoTranslationEnabled;
if (this.fileUploadConfig != null) {
json[r'file_upload_config'] = this.fileUploadConfig;
} else {
json[r'file_upload_config'] = null;
}
if (this.imageUploadConfig != null) {
json[r'image_upload_config'] = this.imageUploadConfig;
} else {
json[r'image_upload_config'] = null;
}
json[r'name'] = this.name;
return json;
}