MarketplaceTargeting.fromJson constructor

MarketplaceTargeting.fromJson(
  1. Map json_
)

Implementation

MarketplaceTargeting.fromJson(core.Map json_)
    : this(
        geoTargeting: json_.containsKey('geoTargeting')
            ? CriteriaTargeting.fromJson(
                json_['geoTargeting'] as core.Map<core.String, core.dynamic>)
            : null,
        inventorySizeTargeting: json_.containsKey('inventorySizeTargeting')
            ? InventorySizeTargeting.fromJson(json_['inventorySizeTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        placementTargeting: json_.containsKey('placementTargeting')
            ? PlacementTargeting.fromJson(json_['placementTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        technologyTargeting: json_.containsKey('technologyTargeting')
            ? TechnologyTargeting.fromJson(json_['technologyTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
        videoTargeting: json_.containsKey('videoTargeting')
            ? VideoTargeting.fromJson(json_['videoTargeting']
                as core.Map<core.String, core.dynamic>)
            : null,
      );