toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var assignee = this.assignee;
  var issueType = this.issueType;
  var issuetype = this.issuetype;
  var priority = this.priority;
  var status = this.status;
  var summary = this.summary;
  var timetracking = this.timetracking;

  final json = <String, Object?>{};
  if (assignee != null) {
    json[r'assignee'] = assignee.toJson();
  }
  if (issueType != null) {
    json[r'issueType'] = issueType.toJson();
  }
  if (issuetype != null) {
    json[r'issuetype'] = issuetype.toJson();
  }
  if (priority != null) {
    json[r'priority'] = priority.toJson();
  }
  if (status != null) {
    json[r'status'] = status.toJson();
  }
  if (summary != null) {
    json[r'summary'] = summary;
  }
  if (timetracking != null) {
    json[r'timetracking'] = timetracking.toJson();
  }
  return json;
}