toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var storage = this.storage;
  var atlasDocFormat = this.atlasDocFormat;
  var wiki = this.wiki;

  final json = <String, Object?>{};
  if (storage != null) {
    json[r'storage'] = storage.toJson();
  }
  if (atlasDocFormat != null) {
    json[r'atlas_doc_format'] = atlasDocFormat.toJson();
  }
  if (wiki != null) {
    json[r'wiki'] = wiki.toJson();
  }
  return json;
}