GoogleAnalyticsAdminV1betaDataSharingSettings.fromJson constructor

GoogleAnalyticsAdminV1betaDataSharingSettings.fromJson(
  1. Map json_
)

Implementation

GoogleAnalyticsAdminV1betaDataSharingSettings.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,
      );