toJson method

Map<String, Object?> toJson()

Implementation

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

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