PrizeData constructor

PrizeData({
  1. required String prizeId,
  2. required String name,
  3. required int pointCost,
  4. required String image,
  5. required String description,
  6. required String details,
  7. required bool buyable,
})

Implementation

PrizeData({
  required String prizeId,
  required String name,
  required int pointCost,
  required String image,
  required String description,
  required String details,
  required bool buyable,
}) {
  _prizeId = prizeId;
  _name = name;
  _pointCost = pointCost;
  _image = image;
  _description = description;
  _details = details;
  _buyable = buyable;
}