copyWithWrapped method

WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover copyWithWrapped({
  1. Wrapped<String?>? vendorInvoiceApproverId,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? location,
  4. Wrapped<String?>? departmentId,
  5. Wrapped<String?>? department,
  6. Wrapped<String?>? usersId,
  7. Wrapped<String?>? username,
  8. Wrapped<bool?>? rental,
  9. Wrapped<bool?>? sales,
  10. Wrapped<bool?>? parts,
  11. Wrapped<bool?>? misc,
  12. Wrapped<bool?>? labor,
  13. Wrapped<bool?>? vehicle,
  14. Wrapped<bool?>? subRent,
  15. Wrapped<bool?>? subSale,
  16. Wrapped<bool?>? repair,
  17. Wrapped<bool?>? subMisc,
  18. Wrapped<bool?>? subLabor,
  19. Wrapped<bool?>? subVehicle,
  20. Wrapped<String?>? dateStamp,
  21. Wrapped<String?>? auditNote,
  22. Wrapped<String?>? recordTitle,
  23. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  24. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  25. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  26. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover
    copyWithWrapped(
        {Wrapped<String?>? vendorInvoiceApproverId,
        Wrapped<String?>? locationId,
        Wrapped<String?>? location,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? department,
        Wrapped<String?>? usersId,
        Wrapped<String?>? username,
        Wrapped<bool?>? rental,
        Wrapped<bool?>? sales,
        Wrapped<bool?>? parts,
        Wrapped<bool?>? misc,
        Wrapped<bool?>? labor,
        Wrapped<bool?>? vehicle,
        Wrapped<bool?>? subRent,
        Wrapped<bool?>? subSale,
        Wrapped<bool?>? repair,
        Wrapped<bool?>? subMisc,
        Wrapped<bool?>? subLabor,
        Wrapped<bool?>? subVehicle,
        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 WebApiModulesSettingsPoSettingsVendorInvoiceApproverVendorInvoiceApprover(
      vendorInvoiceApproverId: (vendorInvoiceApproverId != null
          ? vendorInvoiceApproverId.value
          : this.vendorInvoiceApproverId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      location: (location != null ? location.value : this.location),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      department: (department != null ? department.value : this.department),
      usersId: (usersId != null ? usersId.value : this.usersId),
      username: (username != null ? username.value : this.username),
      rental: (rental != null ? rental.value : this.rental),
      sales: (sales != null ? sales.value : this.sales),
      parts: (parts != null ? parts.value : this.parts),
      misc: (misc != null ? misc.value : this.misc),
      labor: (labor != null ? labor.value : this.labor),
      vehicle: (vehicle != null ? vehicle.value : this.vehicle),
      subRent: (subRent != null ? subRent.value : this.subRent),
      subSale: (subSale != null ? subSale.value : this.subSale),
      repair: (repair != null ? repair.value : this.repair),
      subMisc: (subMisc != null ? subMisc.value : this.subMisc),
      subLabor: (subLabor != null ? subLabor.value : this.subLabor),
      subVehicle: (subVehicle != null ? subVehicle.value : this.subVehicle),
      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));
}