copyWith method
MessageDice
copyWith({
- DiceStickers? initialState,
- DiceStickers? finalState,
- String? emoji,
- int? value,
- 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,
);