toJson method
Implementation
Map<String, Object?> toJson() {
var assignee = this.assignee;
var assigneeType = this.assigneeType;
var description = this.description;
var id = this.id;
var isAssigneeTypeValid = this.isAssigneeTypeValid;
var issueCount = this.issueCount;
var lead = this.lead;
var name = this.name;
var project = this.project;
var projectId = this.projectId;
var realAssignee = this.realAssignee;
var realAssigneeType = this.realAssigneeType;
var self = this.self;
final json = <String, Object?>{};
if (assignee != null) {
json[r'assignee'] = assignee.toJson();
}
if (assigneeType != null) {
json[r'assigneeType'] = assigneeType.value;
}
if (description != null) {
json[r'description'] = description;
}
if (id != null) {
json[r'id'] = id;
}
json[r'isAssigneeTypeValid'] = isAssigneeTypeValid;
if (issueCount != null) {
json[r'issueCount'] = issueCount;
}
if (lead != null) {
json[r'lead'] = lead.toJson();
}
if (name != null) {
json[r'name'] = name;
}
if (project != null) {
json[r'project'] = project;
}
if (projectId != null) {
json[r'projectId'] = projectId;
}
if (realAssignee != null) {
json[r'realAssignee'] = realAssignee.toJson();
}
if (realAssigneeType != null) {
json[r'realAssigneeType'] = realAssigneeType.value;
}
if (self != null) {
json[r'self'] = self;
}
return json;
}