copyWithWrapped method
Implementation
ExerciseScheduleV3Body copyWithWrapped(
{Wrapped<enums.ExerciseScheduleFrequencyDTO?>? frequency,
Wrapped<DateTime?>? nextStartTimestamp,
Wrapped<enums.ExerciseScheduleModeDTO?>? mode,
Wrapped<int?>? durationMinutes}) {
return ExerciseScheduleV3Body(
frequency: (frequency != null ? frequency.value : this.frequency),
nextStartTimestamp: (nextStartTimestamp != null
? nextStartTimestamp.value
: this.nextStartTimestamp),
mode: (mode != null ? mode.value : this.mode),
durationMinutes: (durationMinutes != null
? durationMinutes.value
: this.durationMinutes));
}