copyWithWrapped method
Implementation
AtsDetailsDTO copyWithWrapped(
{Wrapped<AtsDTO?>? ats,
Wrapped<AtsSystemSettingsDTO?>? systemSettings,
Wrapped<AtsUtilityToGeneratorSettingsDTO?>? utilityToGeneratorSettings,
Wrapped<AtsGeneratorToUtilitySettingsDTO?>? generatorToUtilitySettings}) {
return AtsDetailsDTO(
ats: (ats != null ? ats.value : this.ats),
systemSettings: (systemSettings != null
? systemSettings.value
: this.systemSettings),
utilityToGeneratorSettings: (utilityToGeneratorSettings != null
? utilityToGeneratorSettings.value
: this.utilityToGeneratorSettings),
generatorToUtilitySettings: (generatorToUtilitySettings != null
? generatorToUtilitySettings.value
: this.generatorToUtilitySettings));
}