ListVulnerabilityReportsResponse.fromJson constructor

ListVulnerabilityReportsResponse.fromJson(
  1. Map json_
)

Implementation

ListVulnerabilityReportsResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        vulnerabilityReports: json_.containsKey('vulnerabilityReports')
            ? (json_['vulnerabilityReports'] as core.List)
                .map((value) => VulnerabilityReport.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );