Cohort class

Defines a cohort.

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

Constructors

Cohort({DateRange? dateRange, String? name, String? type})
Cohort.fromJson(Map json_)

Properties

dateRange DateRange?
This is used for FIRST_VISIT_DATE cohort, the cohort selects users whose first visit date is between start date and end date defined in the DateRange.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
A unique name for the cohort.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
Type of the cohort.
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