copyWith method

  1. @override
DiceStickersSlotMachine copyWith({
  1. Sticker? background,
  2. Sticker? lever,
  3. Sticker? leftReel,
  4. Sticker? centerReel,
  5. Sticker? rightReel,
})
override

Implementation

@override
DiceStickersSlotMachine copyWith({
  Sticker? background,
  Sticker? lever,
  Sticker? leftReel,
  Sticker? centerReel,
  Sticker? rightReel,
}) => DiceStickersSlotMachine(
  background: background ?? this.background,
  lever: lever ?? this.lever,
  leftReel: leftReel ?? this.leftReel,
  centerReel: centerReel ?? this.centerReel,
  rightReel: rightReel ?? this.rightReel,
);