toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'additional'] = this.additional;
  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'severity'] = this.severity;
    json[r'timestamp'] = this.timestamp;
    json[r'type'] = this.type;
  return json;
}