copyWith method

MessageStakeDice copyWith({
  1. DiceStickers? initialState,
  2. DiceStickers? finalState,
  3. int? value,
  4. int? stakeGramAmount,
  5. int? prizeGramAmount,
})

Implementation

MessageStakeDice copyWith({
  DiceStickers? initialState,
  DiceStickers? finalState,
  int? value,
  int? stakeGramAmount,
  int? prizeGramAmount,
}) =>
    MessageStakeDice(
      initialState: initialState ?? this.initialState,
      finalState: finalState ?? this.finalState,
      value: value ?? this.value,
      stakeGramAmount: stakeGramAmount ?? this.stakeGramAmount,
      prizeGramAmount: prizeGramAmount ?? this.prizeGramAmount,
    );