FanTier enum

Fan engagement tiers based on consumption patterns.

Calculated from session data (pages read / seconds listened) relative to other fans of the same creator. Uses percentile-based thresholds:

  • Superfan: top 5% of engagement
  • Fan: top 20%
  • Supporter: top 50%
  • Casual: bottom 50%
Inheritance
Available extensions

Values

superfan → const FanTier

Top 5% — highest engagement, most loyal

const FanTier(4, 'superfan')
fan → const FanTier

Top 20% — regular, recurring engagement

const FanTier(3, 'fan')
supporter → const FanTier

Top 50% — moderate engagement

const FanTier(2, 'supporter')
casual → const FanTier

Bottom 50% — occasional or one-time

const FanTier(1, 'casual')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
label → String
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
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

Constants

values → const List<FanTier>
A constant List of the values in this enum, in order of their declaration.