toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var additionalComment = this.additionalComment;
  var public = this.public;
  var temporaryAttachmentIds = this.temporaryAttachmentIds;

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