copyWith method

DealerNotificationSettingsUpdateV3Body copyWith({
  1. bool? sendShutdowns,
  2. bool? sendWarnings,
  3. bool? sendGeneratorRunningNotices,
  4. bool? sendNotices,
  5. bool? sendConnectionNotices,
  6. bool? sendMaintenanceNotices,
  7. bool? sendLongRunningNotices,
  8. bool? sendNotificationEmails,
  9. bool? createOnly,
})

Implementation

DealerNotificationSettingsUpdateV3Body copyWith(
    {bool? sendShutdowns,
    bool? sendWarnings,
    bool? sendGeneratorRunningNotices,
    bool? sendNotices,
    bool? sendConnectionNotices,
    bool? sendMaintenanceNotices,
    bool? sendLongRunningNotices,
    bool? sendNotificationEmails,
    bool? createOnly}) {
  return DealerNotificationSettingsUpdateV3Body(
      sendShutdowns: sendShutdowns ?? this.sendShutdowns,
      sendWarnings: sendWarnings ?? this.sendWarnings,
      sendGeneratorRunningNotices:
          sendGeneratorRunningNotices ?? this.sendGeneratorRunningNotices,
      sendNotices: sendNotices ?? this.sendNotices,
      sendConnectionNotices:
          sendConnectionNotices ?? this.sendConnectionNotices,
      sendMaintenanceNotices:
          sendMaintenanceNotices ?? this.sendMaintenanceNotices,
      sendLongRunningNotices:
          sendLongRunningNotices ?? this.sendLongRunningNotices,
      sendNotificationEmails:
          sendNotificationEmails ?? this.sendNotificationEmails,
      createOnly: createOnly ?? this.createOnly);
}