GoogleAnalyticsAdminV1alphaDataSharingSettings.fromJson constructor

GoogleAnalyticsAdminV1alphaDataSharingSettings.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaDataSharingSettings.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        sharingWithGoogleAnySalesEnabled:
            _json.containsKey('sharingWithGoogleAnySalesEnabled')
                ? _json['sharingWithGoogleAnySalesEnabled'] as core.bool
                : null,
        sharingWithGoogleAssignedSalesEnabled:
            _json.containsKey('sharingWithGoogleAssignedSalesEnabled')
                ? _json['sharingWithGoogleAssignedSalesEnabled'] as core.bool
                : null,
        sharingWithGoogleProductsEnabled:
            _json.containsKey('sharingWithGoogleProductsEnabled')
                ? _json['sharingWithGoogleProductsEnabled'] as core.bool
                : null,
        sharingWithGoogleSupportEnabled:
            _json.containsKey('sharingWithGoogleSupportEnabled')
                ? _json['sharingWithGoogleSupportEnabled'] as core.bool
                : null,
        sharingWithOthersEnabled:
            _json.containsKey('sharingWithOthersEnabled')
                ? _json['sharingWithOthersEnabled'] as core.bool
                : null,
      );