copyWith method
PremiumGiveawayInfoCompleted
copyWith({
- int? creationDate,
- int? actualWinnersSelectionDate,
- bool? wasRefunded,
- int? winnerCount,
- int? activationCount,
- String? giftCode,
- dynamic extra,
- int? clientId,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
PremiumGiveawayInfoCompleted copyWith({
int? creationDate,
int? actualWinnersSelectionDate,
bool? wasRefunded,
int? winnerCount,
int? activationCount,
String? giftCode,
dynamic extra,
int? clientId,
}) =>
PremiumGiveawayInfoCompleted(
creationDate: creationDate ?? this.creationDate,
actualWinnersSelectionDate:
actualWinnersSelectionDate ?? this.actualWinnersSelectionDate,
wasRefunded: wasRefunded ?? this.wasRefunded,
winnerCount: winnerCount ?? this.winnerCount,
activationCount: activationCount ?? this.activationCount,
giftCode: giftCode ?? this.giftCode,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);