DeliveryControl.fromJson constructor

DeliveryControl.fromJson(
  1. 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((value) => FrequencyCap.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );