DeliveryControl.fromJson constructor
DeliveryControl.fromJson(
- Map _json
Implementation
DeliveryControl.fromJson(core.Map _json)
: this(
creativeBlockingLevel: _json.containsKey('creativeBlockingLevel')
? _json['creativeBlockingLevel'] as core.String
: null,
deliveryRateType: _json.containsKey('deliveryRateType')
? _json['deliveryRateType'] as core.String
: null,
frequencyCaps: _json.containsKey('frequencyCaps')
? (_json['frequencyCaps'] as core.List)
.map<FrequencyCap>((value) => FrequencyCap.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);