Cohort class

Defines a cohort selection criteria.

A cohort is a group of users who share a common characteristic. For example, users with the same firstSessionDate belong to the same cohort.

Constructors

Cohort({DateRange? dateRange, String? dimension, String? name})
Cohort.fromJson(Map _json)

Properties

dateRange DateRange?
The cohort selects users whose first touch date is between start date and end date defined in the dateRange.
getter/setter pair
dimension String?
Dimension used by the cohort.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Assigns a name to this cohort.
getter/setter pair
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