copyWith method

  1. @override
MessageDice copyWith({
  1. DiceStickers? initialState,
  2. DiceStickers? finalState,
  3. String? emoji,
  4. int? value,
  5. int? successAnimationFrameNumber,
})
override

Implementation

@override
MessageDice copyWith({
  DiceStickers? initialState,
  DiceStickers? finalState,
  String? emoji,
  int? value,
  int? successAnimationFrameNumber,
}) => MessageDice(
  initialState: initialState ?? this.initialState,
  finalState: finalState ?? this.finalState,
  emoji: emoji ?? this.emoji,
  value: value ?? this.value,
  successAnimationFrameNumber: successAnimationFrameNumber ?? this.successAnimationFrameNumber,
);