copyWithWrapped method
Implementation
ResilienceContributors copyWithWrapped(
{Wrapped<double>? sleepRecovery,
Wrapped<double>? daytimeRecovery,
Wrapped<double>? stress}) {
return ResilienceContributors(
sleepRecovery:
(sleepRecovery != null ? sleepRecovery.value : this.sleepRecovery),
daytimeRecovery: (daytimeRecovery != null
? daytimeRecovery.value
: this.daytimeRecovery),
stress: (stress != null ? stress.value : this.stress));
}