FFXProduct class

One product the app sells, with each store's id for it.

Properties

amount → int?
Credits in a pack.
final
appStoreId → String?
The App Store product id; null while the project has no app id, and in the emulator.
final
description → String
final
freeTrialDays → int?
Days free before the first charge, for a monthly or yearly plan.
final
googlePlayBasePlan → String?
The subscription's base plan; null for a one-time product.
final
googlePlayId → String
The Google Play product id.
final
hashCode → int
The hash code for this object.
no setterinherited
item → String
Its name in the payments config: the upgrade's claim, the unlock, or the credits.
final
kind → FFXProductKind
final
name → String
As people see it: the upgrade's or the unlock's name, or the credits' plural.
final
plan → String?
The upgrade's plan: monthly, yearly or once.
final
price → String
The config's US price, such as "4.99". Show the store's own price where the store gives one; this is for the preview's pretend store.
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
toString() → String
A string representation of this object.
inherited

Operators

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