copyWith method
MessageGiftedPremium
copyWith({
- int? gifterUserId,
- String? currency,
- int? amount,
- String? cryptocurrency,
- int? cryptocurrencyAmount,
- int? monthCount,
- Sticker? sticker,
override
Implementation
@override
MessageGiftedPremium copyWith({
int? gifterUserId,
String? currency,
int? amount,
String? cryptocurrency,
int? cryptocurrencyAmount,
int? monthCount,
Sticker? sticker,
}) =>
MessageGiftedPremium(
gifterUserId: gifterUserId ?? this.gifterUserId,
currency: currency ?? this.currency,
amount: amount ?? this.amount,
cryptocurrency: cryptocurrency ?? this.cryptocurrency,
cryptocurrencyAmount: cryptocurrencyAmount ?? this.cryptocurrencyAmount,
monthCount: monthCount ?? this.monthCount,
sticker: sticker ?? this.sticker,
);