copyWith method

GiveawayInfoCompleted copyWith({
  1. int? creationDate,
  2. int? actualWinnersSelectionDate,
  3. bool? wasRefunded,
  4. bool? isWinner,
  5. int? winnerCount,
  6. int? activationCount,
  7. String? giftCode,
  8. int? wonStarCount,
})

Implementation

GiveawayInfoCompleted copyWith({
  int? creationDate,
  int? actualWinnersSelectionDate,
  bool? wasRefunded,
  bool? isWinner,
  int? winnerCount,
  int? activationCount,
  String? giftCode,
  int? wonStarCount,
}) => GiveawayInfoCompleted(
  creationDate: creationDate ?? this.creationDate,
  actualWinnersSelectionDate:
      actualWinnersSelectionDate ?? this.actualWinnersSelectionDate,
  wasRefunded: wasRefunded ?? this.wasRefunded,
  isWinner: isWinner ?? this.isWinner,
  winnerCount: winnerCount ?? this.winnerCount,
  activationCount: activationCount ?? this.activationCount,
  giftCode: giftCode ?? this.giftCode,
  wonStarCount: wonStarCount ?? this.wonStarCount,
);