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,
        timeUnitType: json_.containsKey('timeUnitType')
            ? json_['timeUnitType'] as core.String
            : null,
        timeUnitsCount: json_.containsKey('timeUnitsCount')
            ? json_['timeUnitsCount'] as core.int
            : null,
      );