copyWithWrapped method
Implementation
DealerNotificationSettingsDTO copyWithWrapped(
{Wrapped<bool?>? sendShutdowns,
Wrapped<bool?>? sendWarnings,
Wrapped<bool?>? sendGeneratorRunningNotices,
Wrapped<bool?>? sendNotices,
Wrapped<bool?>? sendConnectionNotices,
Wrapped<bool?>? sendMaintenanceNotices,
Wrapped<bool?>? sendLongRunningNotices,
Wrapped<bool?>? sendNotificationEmails}) {
return DealerNotificationSettingsDTO(
sendShutdowns:
(sendShutdowns != null ? sendShutdowns.value : this.sendShutdowns),
sendWarnings:
(sendWarnings != null ? sendWarnings.value : this.sendWarnings),
sendGeneratorRunningNotices: (sendGeneratorRunningNotices != null
? sendGeneratorRunningNotices.value
: this.sendGeneratorRunningNotices),
sendNotices:
(sendNotices != null ? sendNotices.value : this.sendNotices),
sendConnectionNotices: (sendConnectionNotices != null
? sendConnectionNotices.value
: this.sendConnectionNotices),
sendMaintenanceNotices: (sendMaintenanceNotices != null
? sendMaintenanceNotices.value
: this.sendMaintenanceNotices),
sendLongRunningNotices: (sendLongRunningNotices != null
? sendLongRunningNotices.value
: this.sendLongRunningNotices),
sendNotificationEmails: (sendNotificationEmails != null
? sendNotificationEmails.value
: this.sendNotificationEmails));
}