toJson method

Map<String, Object?> toJson()

Implementation

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

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