toJson method
Implementation
Map<String, Object?> toJson() {
var comment = this.comment;
var inwardIssue = this.inwardIssue;
var outwardIssue = this.outwardIssue;
var type = this.type;
final json = <String, Object?>{};
if (comment != null) {
json[r'comment'] = comment.toJson();
}
json[r'inwardIssue'] = inwardIssue.toJson();
json[r'outwardIssue'] = outwardIssue.toJson();
json[r'type'] = type.toJson();
return json;
}