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 (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 (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 (deviceMakeModelDetails != null)
        'deviceMakeModelDetails': deviceMakeModelDetails!,
      if (deviceTypeDetails != null) 'deviceTypeDetails': deviceTypeDetails!,
      if (digitalContentLabelDetails != null)
        'digitalContentLabelDetails': digitalContentLabelDetails!,
      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 (languageDetails != null) 'languageDetails': languageDetails!,
      if (name != null) 'name': name!,
      if (nativeContentPositionDetails != null)
        'nativeContentPositionDetails': nativeContentPositionDetails!,
      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 (sensitiveCategoryDetails != null)
        'sensitiveCategoryDetails': sensitiveCategoryDetails!,
      if (subExchangeDetails != null)
        'subExchangeDetails': subExchangeDetails!,
      if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!,
      if (targetingType != null) 'targetingType': targetingType!,
      if (userRewardedContentDetails != null)
        'userRewardedContentDetails': userRewardedContentDetails!,
      if (videoPlayerSizeDetails != null)
        'videoPlayerSizeDetails': videoPlayerSizeDetails!,
      if (viewabilityDetails != null)
        'viewabilityDetails': viewabilityDetails!,
    };