SubscriptionPlan constructor

SubscriptionPlan({
  1. String id = '',
  2. String name = '',
  3. String imgUrl = '',
  4. String href = '',
  5. String productId = '',
  6. String priceId = '',
  7. String priceIdYearly = '',
  8. SubscriptionLevel? level,
  9. Price? price,
  10. Price? priceYearly,
  11. bool isActive = true,
  12. bool isLive = true,
  13. double? discount = 0.0,
  14. DateTime? lastUpdated,
  15. String founderTier = '',
  16. int founderSeatsTotal = 0,
  17. int founderSeatsRemaining = 0,
})

Implementation

SubscriptionPlan({
  this.id = '',
  this.name = '',
  this.imgUrl = '',
  this.href = '',
  this.productId = '',
  this.priceId = '',
  this.priceIdYearly = '',
  this.level,
  this.price,
  this.priceYearly,
  this.isActive = true,
  this.isLive = true,
  this.discount = 0.0,
  this.lastUpdated,
  this.founderTier = '',
  this.founderSeatsTotal = 0,
  this.founderSeatsRemaining = 0,
});