toJson method
Implementation
Map<String, Object?> toJson() {
var editor = this.editor;
var view = this.view;
var exportView = this.exportView;
var styledView = this.styledView;
var storage = this.storage;
var editor2 = this.editor2;
var anonymousExportView = this.anonymousExportView;
var atlasDocFormat = this.atlasDocFormat;
var wiki = this.wiki;
var dynamic$ = this.dynamic$;
var raw = this.raw;
final json = <String, Object?>{};
if (editor != null) {
json[r'editor'] = editor;
}
if (view != null) {
json[r'view'] = view;
}
if (exportView != null) {
json[r'export_view'] = exportView;
}
if (styledView != null) {
json[r'styled_view'] = styledView;
}
if (storage != null) {
json[r'storage'] = storage;
}
if (editor2 != null) {
json[r'editor2'] = editor2;
}
if (anonymousExportView != null) {
json[r'anonymous_export_view'] = anonymousExportView;
}
if (atlasDocFormat != null) {
json[r'atlas_doc_format'] = atlasDocFormat;
}
if (wiki != null) {
json[r'wiki'] = wiki;
}
if (dynamic$ != null) {
json[r'dynamic'] = dynamic$;
}
if (raw != null) {
json[r'raw'] = raw;
}
return json;
}