copyWithWrapped method
Implementation
SleepContributors copyWithWrapped(
{Wrapped<dynamic>? deepSleep,
Wrapped<dynamic>? efficiency,
Wrapped<dynamic>? latency,
Wrapped<dynamic>? remSleep,
Wrapped<dynamic>? restfulness,
Wrapped<dynamic>? timing,
Wrapped<dynamic>? totalSleep}) {
return SleepContributors(
deepSleep: (deepSleep != null ? deepSleep.value : this.deepSleep),
efficiency: (efficiency != null ? efficiency.value : this.efficiency),
latency: (latency != null ? latency.value : this.latency),
remSleep: (remSleep != null ? remSleep.value : this.remSleep),
restfulness:
(restfulness != null ? restfulness.value : this.restfulness),
timing: (timing != null ? timing.value : this.timing),
totalSleep: (totalSleep != null ? totalSleep.value : this.totalSleep));
}