toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowedUserTargetingModes != null)
    'allowedUserTargetingModes': allowedUserTargetingModes!,
  if (appTargeting != null) 'appTargeting': appTargeting!,
  if (billingId != null) 'billingId': billingId!,
  if (displayName != null) 'displayName': displayName!,
  if (excludedContentLabelIds != null)
    'excludedContentLabelIds': excludedContentLabelIds!,
  if (geoTargeting != null) 'geoTargeting': geoTargeting!,
  if (includedCreativeDimensions != null)
    'includedCreativeDimensions': includedCreativeDimensions!,
  if (includedEnvironments != null)
    'includedEnvironments': includedEnvironments!,
  if (includedFormats != null) 'includedFormats': includedFormats!,
  if (includedLanguages != null) 'includedLanguages': includedLanguages!,
  if (includedMobileOperatingSystemIds != null)
    'includedMobileOperatingSystemIds': includedMobileOperatingSystemIds!,
  if (includedPlatforms != null) 'includedPlatforms': includedPlatforms!,
  if (includedUserIdTypes != null)
    'includedUserIdTypes': includedUserIdTypes!,
  if (interstitialTargeting != null)
    'interstitialTargeting': interstitialTargeting!,
  if (invalidGeoIds != null) 'invalidGeoIds': invalidGeoIds!,
  if (maximumQps != null) 'maximumQps': maximumQps!,
  if (minimumViewabilityDecile != null)
    'minimumViewabilityDecile': minimumViewabilityDecile!,
  if (name != null) 'name': name!,
  if (publisherTargeting != null) 'publisherTargeting': publisherTargeting!,
  if (state != null) 'state': state!,
  if (userListTargeting != null) 'userListTargeting': userListTargeting!,
  if (verticalTargeting != null) 'verticalTargeting': verticalTargeting!,
  if (webTargeting != null) 'webTargeting': webTargeting!,
};