PlanTier enum
Plan tiers, mirroring the values returned by current_entitlements().
Values
- none → const PlanTier
-
Anonymous or unauthenticated caller.
- trial → const PlanTier
-
14-day free trial with total AI cap (50 messages for the entire trial).
- professional → const PlanTier
-
Solo Professional plan (RevenueCat IAP or Stripe web).
- team → const PlanTier
-
Team plan (Stripe, per-seat).
- enterprise → const PlanTier
-
Enterprise plan (Stripe Billing, custom).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isPaid → bool
-
True when this plan is considered "paid" (not trial/none).
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - rank → int
-
Higher rank wins when multiple plans apply.
no setter
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromString(
String? s) → PlanTier