FrequencyCap.fromJson constructor

FrequencyCap.fromJson(
  1. Map json_
)

Implementation

FrequencyCap.fromJson(core.Map json_)
    : this(
        duration: json_.containsKey('duration')
            ? json_['duration'] as core.String
            : null,
        impressions: json_.containsKey('impressions')
            ? json_['impressions'] as core.String
            : null,
      );