FFXUpgrade class

The upgrade, as it stands for the end user.

Properties

active → bool
Whether the end user has it now.
final
benefits → List<String>
What it unlocks, one line each, as the paywall lists them.
final
claim → String
The boolean claim it sets; rules read it as user.claims.<claim>.
final
description → String
final
endsAt → DateTime?
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
plan → String?
monthly, yearly or once; null before the first purchase.
final
renews → bool
A subscription that renews at endsAt.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → FFXStore?
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