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