toJson method

Map<String, dynamic> toJson()

Implementation

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