Giveaway constructor

const Giveaway({
  1. required List<Chat> chats,
  2. required int winnersSelectionDate,
  3. required int winnerCount,
  4. bool? onlyNewMembers,
  5. bool? hasPublicWinners,
  6. String? prizeDescription,
  7. List<String>? countryCodes,
  8. int? premiumSubscriptionMonthCount,
  9. int? prizeStarCount,
})

Constructor

Implementation

const Giveaway({
  required this.chats,
  required this.winnersSelectionDate,
  required this.winnerCount,
  this.onlyNewMembers,
  this.hasPublicWinners,
  this.prizeDescription,
  this.countryCodes,
  this.premiumSubscriptionMonthCount,
  this.prizeStarCount,
});