copyWith method
TelegramPaymentPurposePremiumGift
copyWith({
- String? currency,
- int? amount,
- int? userId,
- int? monthCount,
- FormattedText? text,
Implementation
TelegramPaymentPurposePremiumGift copyWith({
String? currency,
int? amount,
int? userId,
int? monthCount,
FormattedText? text,
}) => TelegramPaymentPurposePremiumGift(
currency: currency ?? this.currency,
amount: amount ?? this.amount,
userId: userId ?? this.userId,
monthCount: monthCount ?? this.monthCount,
text: text ?? this.text,
);