toJson method

Map<String, Object?> toJson()

Implementation

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

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