copyWithWrapped method

WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption copyWithWrapped({
  1. Wrapped<int?>? id,
  2. Wrapped<String?>? internalChar,
  3. Wrapped<String?>? companyId,
  4. Wrapped<String?>? locationId,
  5. Wrapped<String?>? location,
  6. Wrapped<String?>? taxOptionId,
  7. Wrapped<String?>? taxOption,
  8. Wrapped<String?>? taxCountry,
  9. Wrapped<String?>? taxRule,
  10. Wrapped<double?>? rentalTaxRate1,
  11. Wrapped<double?>? rentalTaxRate2,
  12. Wrapped<bool?>? rentalExempt,
  13. Wrapped<String?>? rentalTaxDisplay,
  14. Wrapped<double?>? salesTaxRate1,
  15. Wrapped<double?>? salesTaxRate2,
  16. Wrapped<bool?>? salesExempt,
  17. Wrapped<String?>? salesTaxDisplay,
  18. Wrapped<double?>? laborTaxRate1,
  19. Wrapped<double?>? laborTaxRate2,
  20. Wrapped<bool?>? laborExempt,
  21. Wrapped<String?>? laborTaxDisplay,
  22. Wrapped<String?>? dateStamp,
  23. Wrapped<String?>? auditNote,
  24. Wrapped<String?>? recordTitle,
  25. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  26. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  27. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  28. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption copyWithWrapped(
    {Wrapped<int?>? id,
    Wrapped<String?>? internalChar,
    Wrapped<String?>? companyId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? location,
    Wrapped<String?>? taxOptionId,
    Wrapped<String?>? taxOption,
    Wrapped<String?>? taxCountry,
    Wrapped<String?>? taxRule,
    Wrapped<double?>? rentalTaxRate1,
    Wrapped<double?>? rentalTaxRate2,
    Wrapped<bool?>? rentalExempt,
    Wrapped<String?>? rentalTaxDisplay,
    Wrapped<double?>? salesTaxRate1,
    Wrapped<double?>? salesTaxRate2,
    Wrapped<bool?>? salesExempt,
    Wrapped<String?>? salesTaxDisplay,
    Wrapped<double?>? laborTaxRate1,
    Wrapped<double?>? laborTaxRate2,
    Wrapped<bool?>? laborExempt,
    Wrapped<String?>? laborTaxDisplay,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsCompanyTaxOptionCompanyTaxOption(
      id: (id != null ? id.value : this.id),
      internalChar:
          (internalChar != null ? internalChar.value : this.internalChar),
      companyId: (companyId != null ? companyId.value : this.companyId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      location: (location != null ? location.value : this.location),
      taxOptionId:
          (taxOptionId != null ? taxOptionId.value : this.taxOptionId),
      taxOption: (taxOption != null ? taxOption.value : this.taxOption),
      taxCountry: (taxCountry != null ? taxCountry.value : this.taxCountry),
      taxRule: (taxRule != null ? taxRule.value : this.taxRule),
      rentalTaxRate1: (rentalTaxRate1 != null
          ? rentalTaxRate1.value
          : this.rentalTaxRate1),
      rentalTaxRate2: (rentalTaxRate2 != null
          ? rentalTaxRate2.value
          : this.rentalTaxRate2),
      rentalExempt:
          (rentalExempt != null ? rentalExempt.value : this.rentalExempt),
      rentalTaxDisplay: (rentalTaxDisplay != null
          ? rentalTaxDisplay.value
          : this.rentalTaxDisplay),
      salesTaxRate1:
          (salesTaxRate1 != null ? salesTaxRate1.value : this.salesTaxRate1),
      salesTaxRate2:
          (salesTaxRate2 != null ? salesTaxRate2.value : this.salesTaxRate2),
      salesExempt:
          (salesExempt != null ? salesExempt.value : this.salesExempt),
      salesTaxDisplay: (salesTaxDisplay != null
          ? salesTaxDisplay.value
          : this.salesTaxDisplay),
      laborTaxRate1:
          (laborTaxRate1 != null ? laborTaxRate1.value : this.laborTaxRate1),
      laborTaxRate2:
          (laborTaxRate2 != null ? laborTaxRate2.value : this.laborTaxRate2),
      laborExempt:
          (laborExempt != null ? laborExempt.value : this.laborExempt),
      laborTaxDisplay: (laborTaxDisplay != null
          ? laborTaxDisplay.value
          : this.laborTaxDisplay),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}