toJson method

Map<String, dynamic> toJson()

Implementation

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