toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.category != null) {
    json[r'category'] = this.category;
  } else {
    json[r'category'] = null;
  }
  if (this.component != null) {
    json[r'component'] = this.component;
  } else {
    json[r'component'] = null;
  }
  json[r'description'] = this.description;
  json[r'end_timestamp'] = this.endTimestamp;
  json[r'internal'] = this.internal;
  json[r'issue_tags'] = this.issueTags;
  json[r'kind'] = this.kind;
  json[r'severity'] = this.severity;
  json[r'timestamp'] = this.timestamp;
  json[r'type'] = this.type;
  return json;
}