SubscriptionPlan constructor

SubscriptionPlan({
  1. String id = '',
  2. String name = '',
  3. String imgUrl = '',
  4. String href = '',
  5. String productId = '',
  6. String priceId = '',
  7. SubscriptionLevel? level,
  8. Price? price,
  9. bool isActive = true,
  10. double? discount = 0.0,
  11. DateTime? lastUpdated,
})

Implementation

SubscriptionPlan({
  this.id = '',
  this.name = '',
  this.imgUrl = '',
  this.href = '',
  this.productId = '',
  this.priceId = '',
  this.level,
  this.price,
  this.isActive = true,
  this.discount = 0.0,
  this.lastUpdated,
});