SubscriptionItem constructor

const SubscriptionItem({
  1. required String sku,
  2. String title = '',
  3. String content = '',
  4. num price = 0,
  5. String localizedPrice = '',
  6. Period period = Period.monthly,
  7. int saleOff = 0,
  8. bool isPopular = false,
  9. bool isFree = false,
})

Implementation

const SubscriptionItem({
  required this.sku,
  this.title = '',
  this.content = '',
  this.price = 0,
  this.localizedPrice = '',
  this.period = Period.monthly,
  this.saleOff = 0,
  this.isPopular = false,
  this.isFree = false,
});