FlutterPromotion constructor

FlutterPromotion({
  1. required String code,
  2. required String name,
  3. required FlutterPromotionDiscountTypeWrapper discountType,
  4. required FlutterPromotionStatus status,
  5. required String startDate,
  6. String? endDate,
  7. List<String>? productCodes,
})

Implementation

FlutterPromotion({
  required this.code,
  required this.name,
  required this.discountType,
  required this.status,
  required this.startDate,
  this.endDate,
  this.productCodes,
});