InventorySizeTargeting.fromJson constructor
InventorySizeTargeting.fromJson(
- Map json_
Implementation
InventorySizeTargeting.fromJson(core.Map json_)
: this(
excludedInventorySizes:
(json_['excludedInventorySizes'] as core.List?)
?.map(
(value) => AdSize.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
targetedInventorySizes:
(json_['targetedInventorySizes'] as core.List?)
?.map(
(value) => AdSize.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);