toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.occurredAt != null) {
json[r'occurredAt'] = this.occurredAt!.toUtc().toIso8601String();
} else {
json[r'occurredAt'] = null;
}
return json;
}