copyWith method
Implementation
StakeDiceState copyWith({
String? stateHash,
int? stakeGramAmount,
List<int>? suggestedStakeGramAmounts,
int? currentStreak,
List<int>? prizePerMille,
int? streakPrizePerMille,
}) => StakeDiceState(
stateHash: stateHash ?? this.stateHash,
stakeGramAmount: stakeGramAmount ?? this.stakeGramAmount,
suggestedStakeGramAmounts:
suggestedStakeGramAmounts ?? this.suggestedStakeGramAmounts,
currentStreak: currentStreak ?? this.currentStreak,
prizePerMille: prizePerMille ?? this.prizePerMille,
streakPrizePerMille: streakPrizePerMille ?? this.streakPrizePerMille,
);