FanSegment class

A fan's engagement profile relative to a specific creator.

Constructors

FanSegment({required String email, required String creatorEmail, required int totalEngagement, required int sessionCount, required int worksConsumed, required int activeMonths, required FanTier tier})
const

Properties

activeMonths int
Number of distinct months with activity
final
creatorEmail String
Creator email this segment is relative to
final
email String
Reader/listener email
final
hashCode int
The hash code for this object.
no setterinherited
isMultiWork bool
Whether this fan consumed multiple works
no setter
isRecurring bool
Whether this fan is recurring (2+ sessions)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionCount int
Number of distinct sessions
final
tier FanTier
Computed fan tier
final
totalEngagement int
Total engagement value (pages read or seconds listened)
final
worksConsumed int
Number of distinct works consumed from this creator
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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