ListVulnerabilityReportsResponse.fromJson constructor
ListVulnerabilityReportsResponse.fromJson(
- 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<VulnerabilityReport>((value) =>
VulnerabilityReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);