copyWith method
Implementation
PremiumGiftCodeInfo copyWith({
MessageSender? creatorId,
int? creationDate,
bool? isFromGiveaway,
int? giveawayMessageId,
int? monthCount,
int? dayCount,
int? userId,
int? useDate,
}) => PremiumGiftCodeInfo(
creatorId: creatorId ?? this.creatorId,
creationDate: creationDate ?? this.creationDate,
isFromGiveaway: isFromGiveaway ?? this.isFromGiveaway,
giveawayMessageId: giveawayMessageId ?? this.giveawayMessageId,
monthCount: monthCount ?? this.monthCount,
dayCount: dayCount ?? this.dayCount,
userId: userId ?? this.userId,
useDate: useDate ?? this.useDate,
);