GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse.fromJson constructor

GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse.fromJson(
  1. Map _json
)

Implementation

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