ListImpressionMetricsResponse.fromJson constructor

ListImpressionMetricsResponse.fromJson(
  1. Map json_
)

Implementation

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