VulnerabilityCheck.fromJson constructor

VulnerabilityCheck.fromJson(
  1. Map json_
)

Implementation

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