copyWith method
Implementation
MessageGiftedStars copyWith({
int? gifterUserId,
int? receiverUserId,
String? currency,
int? amount,
String? cryptocurrency,
int? cryptocurrencyAmount,
int? starCount,
String? transactionId,
Sticker? sticker,
}) => MessageGiftedStars(
gifterUserId: gifterUserId ?? this.gifterUserId,
receiverUserId: receiverUserId ?? this.receiverUserId,
currency: currency ?? this.currency,
amount: amount ?? this.amount,
cryptocurrency: cryptocurrency ?? this.cryptocurrency,
cryptocurrencyAmount: cryptocurrencyAmount ?? this.cryptocurrencyAmount,
starCount: starCount ?? this.starCount,
transactionId: transactionId ?? this.transactionId,
sticker: sticker ?? this.sticker,
);