RecencyDimension class
Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active.
Constructors
- RecencyDimension({required Duration duration, required RecencyType recencyType})
-
RecencyDimension.fromJson(Map<
String, dynamic> json) -
factory
Properties
- duration → Duration
-
The duration to use when determining whether an endpoint is active or
inactive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- recencyType → RecencyType
-
The type of recency dimension to use for the segment. Valid values are:
ACTIVE, endpoints that were active within the specified duration are
included in the segment; and, INACTIVE, endpoints that weren't active within
the specified duration are included in the segment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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