DeliverySchedule.fromJson constructor

DeliverySchedule.fromJson(
  1. Map json_
)

Implementation

DeliverySchedule.fromJson(core.Map json_)
    : this(
        frequencyCap: json_.containsKey('frequencyCap')
            ? FrequencyCap.fromJson(
                json_['frequencyCap'] as core.Map<core.String, core.dynamic>)
            : null,
        hardCutoff: json_.containsKey('hardCutoff')
            ? json_['hardCutoff'] as core.bool
            : null,
        impressionRatio: json_.containsKey('impressionRatio')
            ? json_['impressionRatio'] as core.String
            : null,
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.String
            : null,
      );