VulnerabilityReport.fromJson constructor
VulnerabilityReport.fromJson(
- Map json_
Implementation
VulnerabilityReport.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
vulnerabilities: json_.containsKey('vulnerabilities')
? (json_['vulnerabilities'] as core.List)
.map((value) => VulnerabilityReportVulnerability.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);