Product constructor

Product({
  1. required String id,
  2. required String name,
  3. required String desc,
  4. required double price,
  5. required String localPrice,
  6. required String type,
  7. required String rawJson,
  8. required String periodUnit,
  9. required int periodValue,
  10. required String period,
  11. required String introOffer,
  12. required String introPeriod,
  13. required bool hasTrial,
})

Implementation

Product({
  required this.id,
  required this.name,
  required this.desc,
  required this.price,
  required this.localPrice,
  required this.type,
  required this.rawJson,
  required this.periodUnit,
  required this.periodValue,
  required this.period,
  required this.introOffer,
  required this.introPeriod,
  required this.hasTrial,
});