copyWith method
SleepContributors
copyWith({
- dynamic deepSleep,
- dynamic efficiency,
- dynamic latency,
- dynamic remSleep,
- dynamic restfulness,
- dynamic timing,
- dynamic totalSleep,
Implementation
SleepContributors copyWith(
{dynamic deepSleep,
dynamic efficiency,
dynamic latency,
dynamic remSleep,
dynamic restfulness,
dynamic timing,
dynamic totalSleep}) {
return SleepContributors(
deepSleep: deepSleep ?? this.deepSleep,
efficiency: efficiency ?? this.efficiency,
latency: latency ?? this.latency,
remSleep: remSleep ?? this.remSleep,
restfulness: restfulness ?? this.restfulness,
timing: timing ?? this.timing,
totalSleep: totalSleep ?? this.totalSleep);
}