$FrequencyCap.fromJson constructor Null safety

$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,
      );