SubscriptionOption class

An Android subscription offer (base plan + optional offer). Mirrors RvSubscriptionOption / SubscriptionOptionDTO.

Annotations

Constructors

SubscriptionOption({required String id, String? basePlanId, String? offerId, required List<String> tags, required bool isBasePlan, required bool isPrepaid, required List<PricingPhase> pricingPhases, PricingPhase? freePhase, PricingPhase? introPhase, PricingPhase? fullPricePhase})
const

Properties

basePlanId → String?
final
freePhase → PricingPhase?
final
fullPricePhase → PricingPhase?
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
introPhase → PricingPhase?
final
isBasePlan → bool
final
isPrepaid → bool
final
offerId → String?
final
pricingPhases → List<PricingPhase>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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