copyWith method

GiftUpgradePreview copyWith({
  1. List<UpgradedGiftModel>? models,
  2. List<UpgradedGiftSymbol>? symbols,
  3. List<UpgradedGiftBackdrop>? backdrops,
  4. List<GiftUpgradePrice>? prices,
  5. List<GiftUpgradePrice>? nextPrices,
})

Implementation

GiftUpgradePreview copyWith({
  List<UpgradedGiftModel>? models,
  List<UpgradedGiftSymbol>? symbols,
  List<UpgradedGiftBackdrop>? backdrops,
  List<GiftUpgradePrice>? prices,
  List<GiftUpgradePrice>? nextPrices,
}) =>
    GiftUpgradePreview(
      models: models ?? this.models,
      symbols: symbols ?? this.symbols,
      backdrops: backdrops ?? this.backdrops,
      prices: prices ?? this.prices,
      nextPrices: nextPrices ?? this.nextPrices,
    );