ReportSummaryGroupFinding.fromJson constructor

ReportSummaryGroupFinding.fromJson(
  1. Map json_
)

Implementation

ReportSummaryGroupFinding.fromJson(core.Map json_)
    : this(
        assetAggregateStats: json_.containsKey('assetAggregateStats')
            ? ReportSummaryAssetAggregateStats.fromJson(
                json_['assetAggregateStats']
                    as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        overlappingAssetCount: json_.containsKey('overlappingAssetCount')
            ? json_['overlappingAssetCount'] as core.String
            : null,
        preferenceSetFindings: json_.containsKey('preferenceSetFindings')
            ? (json_['preferenceSetFindings'] as core.List)
                .map((value) =>
                    ReportSummaryGroupPreferenceSetFinding.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );