SegmentDimensions class

Specifies the dimension settings for a segment.

Constructors

SegmentDimensions({Map<String, AttributeDimension>? attributes, SegmentBehaviors? behavior, SegmentDemographics? demographic, SegmentLocation? location, Map<String, MetricDimension>? metrics, Map<String, AttributeDimension>? userAttributes})
SegmentDimensions.fromJson(Map<String, dynamic> json)
factory

Properties

attributes Map<String, AttributeDimension>?
One or more custom attributes to use as criteria for the segment.
final
behavior SegmentBehaviors?
The behavior-based criteria, such as how recently users have used your app, for the segment.
final
demographic SegmentDemographics?
The demographic-based criteria, such as device platform, for the segment.
final
hashCode int
The hash code for this object.
no setterinherited
location SegmentLocation?
The location-based criteria, such as region or GPS coordinates, for the segment.
final
metrics Map<String, MetricDimension>?
One or more custom metrics to use as criteria for the segment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAttributes Map<String, AttributeDimension>?
One or more custom user attributes to use as criteria for the segment.
final

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