toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'data'] = this.data;
json[r'severity'] = this.severity;
json[r'timestamp'] = this.timestamp.toUtc().toIso8601String();
json[r'type'] = this.type;
return json;
}