VulnerabilityOccurrencesSummary.fromJson constructor

VulnerabilityOccurrencesSummary.fromJson(
  1. Map _json
)

Implementation

VulnerabilityOccurrencesSummary.fromJson(core.Map _json)
    : this(
        counts: _json.containsKey('counts')
            ? (_json['counts'] as core.List)
                .map<FixableTotalByDigest>((value) =>
                    FixableTotalByDigest.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );