toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (ageRangeDetails != null) 'ageRangeDetails': ageRangeDetails!,
      if (appCategoryDetails != null)
        'appCategoryDetails': appCategoryDetails!,
      if (appDetails != null) 'appDetails': appDetails!,
      if (assignedTargetingOptionId != null)
        'assignedTargetingOptionId': assignedTargetingOptionId!,
      if (assignedTargetingOptionIdAlias != null)
        'assignedTargetingOptionIdAlias': assignedTargetingOptionIdAlias!,
      if (audienceGroupDetails != null)
        'audienceGroupDetails': audienceGroupDetails!,
      if (audioContentTypeDetails != null)
        'audioContentTypeDetails': audioContentTypeDetails!,
      if (authorizedSellerStatusDetails != null)
        'authorizedSellerStatusDetails': authorizedSellerStatusDetails!,
      if (browserDetails != null) 'browserDetails': browserDetails!,
      if (businessChainDetails != null)
        'businessChainDetails': businessChainDetails!,
      if (carrierAndIspDetails != null)
        'carrierAndIspDetails': carrierAndIspDetails!,
      if (categoryDetails != null) 'categoryDetails': categoryDetails!,
      if (channelDetails != null) 'channelDetails': channelDetails!,
      if (contentDurationDetails != null)
        'contentDurationDetails': contentDurationDetails!,
      if (contentGenreDetails != null)
        'contentGenreDetails': contentGenreDetails!,
      if (contentInstreamPositionDetails != null)
        'contentInstreamPositionDetails': contentInstreamPositionDetails!,
      if (contentOutstreamPositionDetails != null)
        'contentOutstreamPositionDetails': contentOutstreamPositionDetails!,
      if (contentStreamTypeDetails != null)
        'contentStreamTypeDetails': contentStreamTypeDetails!,
      if (dayAndTimeDetails != null) 'dayAndTimeDetails': dayAndTimeDetails!,
      if (deviceMakeModelDetails != null)
        'deviceMakeModelDetails': deviceMakeModelDetails!,
      if (deviceTypeDetails != null) 'deviceTypeDetails': deviceTypeDetails!,
      if (digitalContentLabelExclusionDetails != null)
        'digitalContentLabelExclusionDetails':
            digitalContentLabelExclusionDetails!,
      if (environmentDetails != null)
        'environmentDetails': environmentDetails!,
      if (exchangeDetails != null) 'exchangeDetails': exchangeDetails!,
      if (genderDetails != null) 'genderDetails': genderDetails!,
      if (geoRegionDetails != null) 'geoRegionDetails': geoRegionDetails!,
      if (householdIncomeDetails != null)
        'householdIncomeDetails': householdIncomeDetails!,
      if (inheritance != null) 'inheritance': inheritance!,
      if (inventorySourceDetails != null)
        'inventorySourceDetails': inventorySourceDetails!,
      if (inventorySourceGroupDetails != null)
        'inventorySourceGroupDetails': inventorySourceGroupDetails!,
      if (keywordDetails != null) 'keywordDetails': keywordDetails!,
      if (languageDetails != null) 'languageDetails': languageDetails!,
      if (name != null) 'name': name!,
      if (nativeContentPositionDetails != null)
        'nativeContentPositionDetails': nativeContentPositionDetails!,
      if (negativeKeywordListDetails != null)
        'negativeKeywordListDetails': negativeKeywordListDetails!,
      if (omidDetails != null) 'omidDetails': omidDetails!,
      if (onScreenPositionDetails != null)
        'onScreenPositionDetails': onScreenPositionDetails!,
      if (operatingSystemDetails != null)
        'operatingSystemDetails': operatingSystemDetails!,
      if (parentalStatusDetails != null)
        'parentalStatusDetails': parentalStatusDetails!,
      if (poiDetails != null) 'poiDetails': poiDetails!,
      if (proximityLocationListDetails != null)
        'proximityLocationListDetails': proximityLocationListDetails!,
      if (regionalLocationListDetails != null)
        'regionalLocationListDetails': regionalLocationListDetails!,
      if (sensitiveCategoryExclusionDetails != null)
        'sensitiveCategoryExclusionDetails':
            sensitiveCategoryExclusionDetails!,
      if (sessionPositionDetails != null)
        'sessionPositionDetails': sessionPositionDetails!,
      if (subExchangeDetails != null)
        'subExchangeDetails': subExchangeDetails!,
      if (targetingType != null) 'targetingType': targetingType!,
      if (thirdPartyVerifierDetails != null)
        'thirdPartyVerifierDetails': thirdPartyVerifierDetails!,
      if (urlDetails != null) 'urlDetails': urlDetails!,
      if (userRewardedContentDetails != null)
        'userRewardedContentDetails': userRewardedContentDetails!,
      if (videoPlayerSizeDetails != null)
        'videoPlayerSizeDetails': videoPlayerSizeDetails!,
      if (viewabilityDetails != null)
        'viewabilityDetails': viewabilityDetails!,
      if (youtubeChannelDetails != null)
        'youtubeChannelDetails': youtubeChannelDetails!,
      if (youtubeVideoDetails != null)
        'youtubeVideoDetails': youtubeVideoDetails!,
    };