toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  if (content != null) {
    json[r'content'] = content;
  }
  if (additionalProperties != null) {
    json[r'additionalProperties'] = additionalProperties;
  }
  return json;
}