GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson constructor

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson(
    core.Map _json)
    : this(
        adsPersonalizationEnabled:
            _json.containsKey('adsPersonalizationEnabled')
                ? _json['adsPersonalizationEnabled'] as core.bool
                : null,
        advertiserDisplayName: _json.containsKey('advertiserDisplayName')
            ? _json['advertiserDisplayName'] as core.String
            : null,
        advertiserId: _json.containsKey('advertiserId')
            ? _json['advertiserId'] as core.String
            : null,
        campaignDataSharingEnabled:
            _json.containsKey('campaignDataSharingEnabled')
                ? _json['campaignDataSharingEnabled'] as core.bool
                : null,
        costDataSharingEnabled: _json.containsKey('costDataSharingEnabled')
            ? _json['costDataSharingEnabled'] as core.bool
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );