copyWith method
TelegramPaymentPurposeStarGiveaway
copyWith({
- GiveawayParameters? parameters,
- String? currency,
- int? amount,
- int? winnerCount,
- int? starCount,
Implementation
TelegramPaymentPurposeStarGiveaway copyWith({
GiveawayParameters? parameters,
String? currency,
int? amount,
int? winnerCount,
int? starCount,
}) => TelegramPaymentPurposeStarGiveaway(
parameters: parameters ?? this.parameters,
currency: currency ?? this.currency,
amount: amount ?? this.amount,
winnerCount: winnerCount ?? this.winnerCount,
starCount: starCount ?? this.starCount,
);