Segment class

The segment definition, if the report needs to be segmented.

A Segment is a subset of the Analytics data. For example, of the entire set of users, one Segment might be users from a particular country or city.

Constructors

Segment({DynamicSegment? dynamicSegment, String? segmentId})
Segment.fromJson(Map json_)

Properties

dynamicSegment DynamicSegment?
A dynamic segment definition in the request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentId String?
The segment ID of a built-in or custom segment, for example gaid::-3.
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