copyWith method

WebApiModulesSettingsSystemSettingsSystemSettingsSystemSettings copyWith({
  1. String? systemSettingsId,
  2. String? systemSettingsName,
  3. String? companyName,
  4. String? systemName,
  5. String? databaseVersion,
  6. bool? shareDealsAcrossOfficeLocations,
  7. bool? isVendorNumberAssignedByUser,
  8. int? lastVendorNumber,
  9. bool? allowDeleteExportedReceipts,
  10. bool? enableReceipts,
  11. bool? enableBetaUpdates,
  12. bool? enableQaUpdates,
  13. bool? enablePayments,
  14. bool? allowDeleteExportedPayments,
  15. bool? allowDeleteInvoices,
  16. bool? allowInvoiceDateChange,
  17. bool? ordersCompleteWithItemsNotYetStaged,
  18. bool? populateInventoryUtilizationDataWeekly,
  19. String? dateStamp,
  20. String? auditNote,
  21. String? recordTitle,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsSystemSettingsSystemSettingsSystemSettings copyWith(
    {String? systemSettingsId,
    String? systemSettingsName,
    String? companyName,
    String? systemName,
    String? databaseVersion,
    bool? shareDealsAcrossOfficeLocations,
    bool? isVendorNumberAssignedByUser,
    int? lastVendorNumber,
    bool? allowDeleteExportedReceipts,
    bool? enableReceipts,
    bool? enableBetaUpdates,
    bool? enableQaUpdates,
    bool? enablePayments,
    bool? allowDeleteExportedPayments,
    bool? allowDeleteInvoices,
    bool? allowInvoiceDateChange,
    bool? ordersCompleteWithItemsNotYetStaged,
    bool? populateInventoryUtilizationDataWeekly,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesSettingsSystemSettingsSystemSettingsSystemSettings(
      systemSettingsId: systemSettingsId ?? this.systemSettingsId,
      systemSettingsName: systemSettingsName ?? this.systemSettingsName,
      companyName: companyName ?? this.companyName,
      systemName: systemName ?? this.systemName,
      databaseVersion: databaseVersion ?? this.databaseVersion,
      shareDealsAcrossOfficeLocations: shareDealsAcrossOfficeLocations ??
          this.shareDealsAcrossOfficeLocations,
      isVendorNumberAssignedByUser:
          isVendorNumberAssignedByUser ?? this.isVendorNumberAssignedByUser,
      lastVendorNumber: lastVendorNumber ?? this.lastVendorNumber,
      allowDeleteExportedReceipts:
          allowDeleteExportedReceipts ?? this.allowDeleteExportedReceipts,
      enableReceipts: enableReceipts ?? this.enableReceipts,
      enableBetaUpdates: enableBetaUpdates ?? this.enableBetaUpdates,
      enableQaUpdates: enableQaUpdates ?? this.enableQaUpdates,
      enablePayments: enablePayments ?? this.enablePayments,
      allowDeleteExportedPayments:
          allowDeleteExportedPayments ?? this.allowDeleteExportedPayments,
      allowDeleteInvoices: allowDeleteInvoices ?? this.allowDeleteInvoices,
      allowInvoiceDateChange:
          allowInvoiceDateChange ?? this.allowInvoiceDateChange,
      ordersCompleteWithItemsNotYetStaged:
          ordersCompleteWithItemsNotYetStaged ??
              this.ordersCompleteWithItemsNotYetStaged,
      populateInventoryUtilizationDataWeekly:
          populateInventoryUtilizationDataWeekly ??
              this.populateInventoryUtilizationDataWeekly,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}