toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var links = this.links;
  var fields = this.fields;
  var id = this.id;
  var issueCount = this.issueCount;
  var jql = this.jql;
  var name = this.name;

  final json = <String, Object?>{};
  if (links != null) {
    json[r'_links'] = links.toJson();
  }
  json[r'fields'] = fields;
  if (id != null) {
    json[r'id'] = id;
  }
  if (issueCount != null) {
    json[r'issueCount'] = issueCount;
  }
  if (jql != null) {
    json[r'jql'] = jql;
  }
  if (name != null) {
    json[r'name'] = name;
  }
  return json;
}