toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (reportLocation != null) {
json[r'reportLocation'] = reportLocation?.toJson();
}
if (sourceReferences != null) {
json[r'sourceReferences'] = sourceReferences?.map((t) => t.toJson());
}
if (httpRequest != null) {
json[r'httpRequest'] = httpRequest?.toJson();
}
if (user != null) {
json[r'user'] = user;
}
return json;
}