VulnerabilityCheck.fromJson constructor
VulnerabilityCheck.fromJson(
- Map json_
Implementation
VulnerabilityCheck.fromJson(core.Map json_)
: this(
allowedCves: json_.containsKey('allowedCves')
? (json_['allowedCves'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
blockedCves: json_.containsKey('blockedCves')
? (json_['blockedCves'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
containerAnalysisVulnerabilityProjects: json_
.containsKey('containerAnalysisVulnerabilityProjects')
? (json_['containerAnalysisVulnerabilityProjects'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
maximumFixableSeverity: json_.containsKey('maximumFixableSeverity')
? json_['maximumFixableSeverity'] as core.String
: null,
maximumUnfixableSeverity:
json_.containsKey('maximumUnfixableSeverity')
? json_['maximumUnfixableSeverity'] as core.String
: null,
);