copyWith method
Implementation
StarTransactionTypeGiftUpgrade copyWith({
int? userId,
UpgradedGift? gift,
}) =>
StarTransactionTypeGiftUpgrade(
userId: userId ?? this.userId,
gift: gift ?? this.gift,
);
StarTransactionTypeGiftUpgrade copyWith({
int? userId,
UpgradedGift? gift,
}) =>
StarTransactionTypeGiftUpgrade(
userId: userId ?? this.userId,
gift: gift ?? this.gift,
);