VulnerabilityReportVulnerabilityItem.fromJson constructor

VulnerabilityReportVulnerabilityItem.fromJson(
  1. Map json_
)

Implementation

VulnerabilityReportVulnerabilityItem.fromJson(core.Map json_)
    : this(
        availableInventoryItemId:
            json_.containsKey('availableInventoryItemId')
                ? json_['availableInventoryItemId'] as core.String
                : null,
        fixedCpeUri: json_.containsKey('fixedCpeUri')
            ? json_['fixedCpeUri'] as core.String
            : null,
        installedInventoryItemId:
            json_.containsKey('installedInventoryItemId')
                ? json_['installedInventoryItemId'] as core.String
                : null,
        upstreamFix: json_.containsKey('upstreamFix')
            ? json_['upstreamFix'] as core.String
            : null,
      );