toJson method

Map<String, Object?> toJson()

Implementation

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

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