copyWith method

UpgradedGiftSymbol copyWith({
  1. String? name,
  2. Sticker? sticker,
  3. UpgradedGiftAttributeRarity? rarity,
})

Implementation

UpgradedGiftSymbol copyWith({
  String? name,
  Sticker? sticker,
  UpgradedGiftAttributeRarity? rarity,
}) => UpgradedGiftSymbol(
  name: name ?? this.name,
  sticker: sticker ?? this.sticker,
  rarity: rarity ?? this.rarity,
);