toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.critical != null) {
json[r'critical'] = this.critical;
} else {
json[r'critical'] = null;
}
if (this.files != null) {
json[r'files'] = this.files;
} else {
json[r'files'] = null;
}
if (this.findings != null) {
json[r'findings'] = this.findings;
} else {
json[r'findings'] = null;
}
if (this.high != null) {
json[r'high'] = this.high;
} else {
json[r'high'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.low != null) {
json[r'low'] = this.low;
} else {
json[r'low'] = null;
}
if (this.medium != null) {
json[r'medium'] = this.medium;
} else {
json[r'medium'] = null;
}
if (this.project != null) {
json[r'project'] = this.project;
} else {
json[r'project'] = null;
}
return json;
}