toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.assignee != null) {
    json[r'assignee'] = this.assignee;
  } else {
    json[r'assignee'] = null;
  }
  if (this.createdAt != null) {
    json[r'createdAt'] = this.createdAt;
  } else {
    json[r'createdAt'] = null;
  }
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
  if (this.dueAt != null) {
    json[r'dueAt'] = this.dueAt;
  } else {
    json[r'dueAt'] = null;
  }
  if (this.extRef != null) {
    json[r'extRef'] = this.extRef;
  } else {
    json[r'extRef'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.identifier != null) {
    json[r'identifier'] = this.identifier;
  } else {
    json[r'identifier'] = null;
  }
  if (this.kind != null) {
    json[r'kind'] = this.kind;
  } else {
    json[r'kind'] = null;
  }
    json[r'labels'] = this.labels;
  if (this.number != null) {
    json[r'number'] = this.number;
  } else {
    json[r'number'] = null;
  }
  if (this.priority != null) {
    json[r'priority'] = this.priority;
  } else {
    json[r'priority'] = null;
  }
  if (this.projectKey != null) {
    json[r'projectKey'] = this.projectKey;
  } else {
    json[r'projectKey'] = null;
  }
  if (this.repo != null) {
    json[r'repo'] = this.repo;
  } else {
    json[r'repo'] = null;
  }
  if (this.source_ != null) {
    json[r'source'] = this.source_;
  } else {
    json[r'source'] = null;
  }
  if (this.startAt != null) {
    json[r'startAt'] = this.startAt;
  } else {
    json[r'startAt'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.updatedAt != null) {
    json[r'updatedAt'] = this.updatedAt;
  } else {
    json[r'updatedAt'] = null;
  }
  return json;
}