DeliveryControl.fromJson constructor

DeliveryControl.fromJson(
  1. Map json_
)

Implementation

DeliveryControl.fromJson(core.Map json_)
    : this(
        companionDeliveryType: json_['companionDeliveryType'] as core.String?,
        creativeRotationType: json_['creativeRotationType'] as core.String?,
        deliveryRateType: json_['deliveryRateType'] as core.String?,
        frequencyCap: (json_['frequencyCap'] as core.List?)
            ?.map((value) => FrequencyCap.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        roadblockingType: json_['roadblockingType'] as core.String?,
      );