MastodonAdminCohort class

Admin-level retention cohort data.

Represents the retention rate of users who registered during a specific period.

Annotations

Constructors

MastodonAdminCohort({DateTime? period, required String frequency, List<MastodonAdminCohortData> data = const []})
const
MastodonAdminCohort.fromJson(Map<String, dynamic> json)
factory

Properties

data List<MastodonAdminCohortData>
List of retention data entries.
final
frequency String
Granularity of the data (day or month).
final
hashCode int
The hash code for this object.
no setterinherited
period DateTime?
Start timestamp of the cohort period (midnight).
final
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>
Serializes to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited