SubscriptionOption class
- Available extensions
Constructors
-
SubscriptionOption.new(String id, String storeProductId, String productId, List<
PricingPhase> pricingPhases, List<String> tags, bool isBasePlan, Period? billingPeriod, bool isPrepaid, PricingPhase? fullPricePhase, PricingPhase? freePhase, PricingPhase? introPhase, PresentedOfferingContext? presentedOfferingContext, InstallmentsInfo? installmentsInfo) -
const
-
SubscriptionOption.fromJson(Map<
String, dynamic> json) -
factory
Properties
- billingPeriod → Period?
-
final
- freePhase → PricingPhase?
-
final
- fullPricePhase → PricingPhase?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- installmentsInfo → InstallmentsInfo?
-
final
- introPhase → PricingPhase?
-
final
- isBasePlan → bool
-
final
- isPrepaid → bool
-
final
- presentedOfferingContext → PresentedOfferingContext?
-
final
- presentedOfferingIdentifier → String?
-
Available on SubscriptionOption, provided by the ExtendedSubscriptionOption extension
Offering this package belongs to. Null if not using offerings or if fetched directly from store via getProductsno setter -
pricingPhases
→ List<
PricingPhase> -
final
- productId → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storeProductId → String
-
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited -
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