copyWithWrapped method

HomeownerNotificationSettingsUpdateV3Body copyWithWrapped({
  1. Wrapped<bool?>? sendShutdowns,
  2. Wrapped<bool?>? sendWarnings,
  3. Wrapped<bool?>? sendGeneratorRunningNotices,
  4. Wrapped<bool?>? sendNotices,
  5. Wrapped<bool?>? sendConnectionNotices,
  6. Wrapped<bool?>? sendMaintenanceNotices,
  7. Wrapped<bool?>? sendLongRunningNotices,
  8. Wrapped<bool?>? sendNotificationEmails,
})

Implementation

HomeownerNotificationSettingsUpdateV3Body 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 HomeownerNotificationSettingsUpdateV3Body(
      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));
}