SegmentGroup class

Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions.

Constructors

SegmentGroup({List<SegmentDimensions>? dimensions, List<SegmentReference>? sourceSegments, SourceType? sourceType, Type? type})
SegmentGroup.fromJson(Map<String, dynamic> json)
factory

Properties

dimensions List<SegmentDimensions>?
An array that defines the dimensions for the segment.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceSegments List<SegmentReference>?
The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
final
sourceType SourceType?
Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
final
type Type?
Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
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