GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse.fromJson constructor

GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse.fromJson(
    core.Map _json)
    : this(
        measurementProtocolSecrets: _json
                .containsKey('measurementProtocolSecrets')
            ? (_json['measurementProtocolSecrets'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );