GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson constructor

GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson(
    core.Map _json)
    : this(
        fileDownloadsEnabled: _json.containsKey('fileDownloadsEnabled')
            ? _json['fileDownloadsEnabled'] as core.bool
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        outboundClicksEnabled: _json.containsKey('outboundClicksEnabled')
            ? _json['outboundClicksEnabled'] as core.bool
            : null,
        pageChangesEnabled: _json.containsKey('pageChangesEnabled')
            ? _json['pageChangesEnabled'] as core.bool
            : null,
        pageLoadsEnabled: _json.containsKey('pageLoadsEnabled')
            ? _json['pageLoadsEnabled'] as core.bool
            : null,
        pageViewsEnabled: _json.containsKey('pageViewsEnabled')
            ? _json['pageViewsEnabled'] as core.bool
            : null,
        scrollsEnabled: _json.containsKey('scrollsEnabled')
            ? _json['scrollsEnabled'] as core.bool
            : null,
        searchQueryParameter: _json.containsKey('searchQueryParameter')
            ? _json['searchQueryParameter'] as core.String
            : null,
        siteSearchEnabled: _json.containsKey('siteSearchEnabled')
            ? _json['siteSearchEnabled'] as core.bool
            : null,
        streamEnabled: _json.containsKey('streamEnabled')
            ? _json['streamEnabled'] as core.bool
            : null,
        uriQueryParameter: _json.containsKey('uriQueryParameter')
            ? _json['uriQueryParameter'] as core.String
            : null,
        videoEngagementEnabled: _json.containsKey('videoEngagementEnabled')
            ? _json['videoEngagementEnabled'] as core.bool
            : null,
      );