SeasonRewardSchema constructor

SeasonRewardSchema({
  1. required String code,
  2. required RewardType type,
  3. required String description,
  4. required int requiredPoints,
  5. int quantity = 1,
  6. bool memberRequired = false,
  7. bool firstOnly = false,
})

Returns a new SeasonRewardSchema instance.

Implementation

SeasonRewardSchema({
  required this.code,
  required this.type,
  required this.description,
  required this.requiredPoints,
  this.quantity = 1,
  this.memberRequired = false,
  this.firstOnly = false,
});