copyWithWrapped method

DealerNotificationSettingsUpdateV3Body 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,
  9. Wrapped<bool?>? createOnly,
})

Implementation

DealerNotificationSettingsUpdateV3Body 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,
    Wrapped<bool?>? createOnly}) {
  return DealerNotificationSettingsUpdateV3Body(
      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),
      createOnly: (createOnly != null ? createOnly.value : this.createOnly));
}