VulnerabilityReportVulnerability.fromJson constructor
VulnerabilityReportVulnerability.fromJson(
- Map _json
Implementation
VulnerabilityReportVulnerability.fromJson(core.Map _json)
: this(
availableInventoryItemIds:
_json.containsKey('availableInventoryItemIds')
? (_json['availableInventoryItemIds'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
details: _json.containsKey('details')
? VulnerabilityReportVulnerabilityDetails.fromJson(
_json['details'] as core.Map<core.String, core.dynamic>)
: null,
installedInventoryItemIds:
_json.containsKey('installedInventoryItemIds')
? (_json['installedInventoryItemIds'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
);