ReportCrossDimensionReachCriteria.fromJson constructor

ReportCrossDimensionReachCriteria.fromJson(
  1. Map json_
)

Implementation

ReportCrossDimensionReachCriteria.fromJson(core.Map json_)
    : this(
        breakdown: json_.containsKey('breakdown')
            ? (json_['breakdown'] as core.List)
                .map((value) => SortedDimension.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dateRange: json_.containsKey('dateRange')
            ? DateRange.fromJson(
                json_['dateRange'] as core.Map<core.String, core.dynamic>)
            : null,
        dimension: json_.containsKey('dimension')
            ? json_['dimension'] as core.String
            : null,
        dimensionFilters: json_.containsKey('dimensionFilters')
            ? (json_['dimensionFilters'] as core.List)
                .map((value) => DimensionValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metricNames: json_.containsKey('metricNames')
            ? (json_['metricNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        overlapMetricNames: json_.containsKey('overlapMetricNames')
            ? (json_['overlapMetricNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        pivoted: json_.containsKey('pivoted')
            ? json_['pivoted'] as core.bool
            : null,
      );