FrequencyCap class

Settings that control the number of times a user may be shown with the same ad during a given time period.

Constructors

FrequencyCap({int? maxImpressions, String? timeUnit, int? timeUnitCount, bool? unlimited})
FrequencyCap.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxImpressions int?
The maximum number of times a user may be shown the same ad during this period.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeUnit String?
The time unit in which the frequency cap will be applied.
getter/setter pair
timeUnitCount int?
The number of time_unit the frequency cap will last.
getter/setter pair
unlimited bool?
Whether unlimited frequency capping is applied.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited