FrequencyCap.fromJson constructor

FrequencyCap.fromJson(
  1. Map json_
)

Implementation

FrequencyCap.fromJson(core.Map json_)
    : this(
        maxImpressions: json_.containsKey('maxImpressions')
            ? json_['maxImpressions'] as core.int
            : null,
        numTimeUnits: json_.containsKey('numTimeUnits')
            ? json_['numTimeUnits'] as core.int
            : null,
        timeUnitType: json_.containsKey('timeUnitType')
            ? json_['timeUnitType'] as core.String
            : null,
      );