GoogleAnalyticsAdminV1betaRunAccessReportResponse.fromJson constructor

GoogleAnalyticsAdminV1betaRunAccessReportResponse.fromJson(
  1. Map json_
)

Implementation

GoogleAnalyticsAdminV1betaRunAccessReportResponse.fromJson(core.Map json_)
    : this(
        dimensionHeaders: json_.containsKey('dimensionHeaders')
            ? (json_['dimensionHeaders'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessDimensionHeader.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metricHeaders: json_.containsKey('metricHeaders')
            ? (json_['metricHeaders'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessMetricHeader.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        quota: json_.containsKey('quota')
            ? GoogleAnalyticsAdminV1betaAccessQuota.fromJson(
                json_['quota'] as core.Map<core.String, core.dynamic>)
            : null,
        rowCount: json_.containsKey('rowCount')
            ? json_['rowCount'] as core.int
            : null,
        rows: json_.containsKey('rows')
            ? (json_['rows'] as core.List)
                .map((value) => GoogleAnalyticsAdminV1betaAccessRow.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );