Product constructor
Product({
- required String id,
- required String name,
- required String desc,
- required double price,
- required String localPrice,
- required String type,
- required String rawJson,
- required String periodUnit,
- required int periodValue,
- required String period,
- required String introOffer,
- required String introPeriod,
- 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,
});