copyWith method

StarTransactionTypeGiftUpgrade copyWith({
  1. int? userId,
  2. UpgradedGift? gift,
})

Implementation

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