copyWithWrapped method

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

Implementation

WebApiLogicAppFuncSystemSettingsResponse copyWithWrapped(
    {Wrapped<bool?>? allowDeleteInvoices,
    Wrapped<bool?>? allowInvoiceDateChange,
    Wrapped<bool?>? enableReceipts,
    Wrapped<bool?>? enablePayments,
    Wrapped<bool?>? shareDealsAcrossOfficeLocations,
    Wrapped<String?>? systemName,
    Wrapped<String?>? companyName,
    Wrapped<bool?>? isVendorNumberAssignedByUser}) {
  return WebApiLogicAppFuncSystemSettingsResponse(
      allowDeleteInvoices: (allowDeleteInvoices != null
          ? allowDeleteInvoices.value
          : this.allowDeleteInvoices),
      allowInvoiceDateChange: (allowInvoiceDateChange != null
          ? allowInvoiceDateChange.value
          : this.allowInvoiceDateChange),
      enableReceipts: (enableReceipts != null
          ? enableReceipts.value
          : this.enableReceipts),
      enablePayments: (enablePayments != null
          ? enablePayments.value
          : this.enablePayments),
      shareDealsAcrossOfficeLocations:
          (shareDealsAcrossOfficeLocations != null
              ? shareDealsAcrossOfficeLocations.value
              : this.shareDealsAcrossOfficeLocations),
      systemName: (systemName != null ? systemName.value : this.systemName),
      companyName:
          (companyName != null ? companyName.value : this.companyName),
      isVendorNumberAssignedByUser: (isVendorNumberAssignedByUser != null
          ? isVendorNumberAssignedByUser.value
          : this.isVendorNumberAssignedByUser));
}