copyWith method

WebApiLogicAppFuncSystemSettingsResponse copyWith({
  1. bool? allowDeleteInvoices,
  2. bool? allowInvoiceDateChange,
  3. bool? enableReceipts,
  4. bool? enablePayments,
  5. bool? shareDealsAcrossOfficeLocations,
  6. String? systemName,
  7. String? companyName,
  8. bool? isVendorNumberAssignedByUser,
})

Implementation

WebApiLogicAppFuncSystemSettingsResponse copyWith(
    {bool? allowDeleteInvoices,
    bool? allowInvoiceDateChange,
    bool? enableReceipts,
    bool? enablePayments,
    bool? shareDealsAcrossOfficeLocations,
    String? systemName,
    String? companyName,
    bool? isVendorNumberAssignedByUser}) {
  return WebApiLogicAppFuncSystemSettingsResponse(
      allowDeleteInvoices: allowDeleteInvoices ?? this.allowDeleteInvoices,
      allowInvoiceDateChange:
          allowInvoiceDateChange ?? this.allowInvoiceDateChange,
      enableReceipts: enableReceipts ?? this.enableReceipts,
      enablePayments: enablePayments ?? this.enablePayments,
      shareDealsAcrossOfficeLocations: shareDealsAcrossOfficeLocations ??
          this.shareDealsAcrossOfficeLocations,
      systemName: systemName ?? this.systemName,
      companyName: companyName ?? this.companyName,
      isVendorNumberAssignedByUser:
          isVendorNumberAssignedByUser ?? this.isVendorNumberAssignedByUser);
}