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<ImpressionMetricsRow>((value) =>
                    ImpressionMetricsRow.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );