SubscriptionOption constructor

const SubscriptionOption({
  1. required String id,
  2. String? basePlanId,
  3. String? offerId,
  4. required List<String> tags,
  5. required bool isBasePlan,
  6. required bool isPrepaid,
  7. required List<PricingPhase> pricingPhases,
  8. PricingPhase? freePhase,
  9. PricingPhase? introPhase,
  10. PricingPhase? fullPricePhase,
})

Implementation

const SubscriptionOption({
  required this.id,
  this.basePlanId,
  this.offerId,
  required this.tags,
  required this.isBasePlan,
  required this.isPrepaid,
  required this.pricingPhases,
  this.freePhase,
  this.introPhase,
  this.fullPricePhase,
});