toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (daypartTargeting != null) 'daypartTargeting': daypartTargeting!,
      if (excludedSensitiveCategoryIds != null)
        'excludedSensitiveCategoryIds': excludedSensitiveCategoryIds!,
      if (geoTargeting != null) 'geoTargeting': geoTargeting!,
      if (inventorySizeTargeting != null)
        'inventorySizeTargeting': inventorySizeTargeting!,
      if (inventoryTypeTargeting != null)
        'inventoryTypeTargeting': inventoryTypeTargeting!,
      if (placementTargeting != null)
        'placementTargeting': placementTargeting!,
      if (technologyTargeting != null)
        'technologyTargeting': technologyTargeting!,
      if (userListTargeting != null) 'userListTargeting': userListTargeting!,
      if (verticalTargeting != null) 'verticalTargeting': verticalTargeting!,
      if (videoTargeting != null) 'videoTargeting': videoTargeting!,
    };