copyWith method
StarTransactionTypeUpgradedGiftSale
copyWith({
- int? userId,
- UpgradedGift? gift,
- int? commissionPerMille,
- StarAmount? commissionStarAmount,
- bool? viaOffer,
Implementation
StarTransactionTypeUpgradedGiftSale copyWith({
int? userId,
UpgradedGift? gift,
int? commissionPerMille,
StarAmount? commissionStarAmount,
bool? viaOffer,
}) => StarTransactionTypeUpgradedGiftSale(
userId: userId ?? this.userId,
gift: gift ?? this.gift,
commissionPerMille: commissionPerMille ?? this.commissionPerMille,
commissionStarAmount: commissionStarAmount ?? this.commissionStarAmount,
viaOffer: viaOffer ?? this.viaOffer,
);