copyWithWrapped method

WebApiModulesSettingsTemplateSettingsTemplateTemplate copyWithWrapped({
  1. Wrapped<String?>? templateId,
  2. Wrapped<String?>? description,
  3. Wrapped<String?>? departmentId,
  4. Wrapped<String?>? department,
  5. Wrapped<String?>? officeLocationId,
  6. Wrapped<String?>? officeLocation,
  7. Wrapped<String?>? warehouseId,
  8. Wrapped<String?>? warehouse,
  9. Wrapped<String?>? warehouseCode,
  10. Wrapped<String?>? rateType,
  11. Wrapped<bool?>? rental,
  12. Wrapped<bool?>? sales,
  13. Wrapped<bool?>? miscellaneous,
  14. Wrapped<bool?>? labor,
  15. Wrapped<bool?>? facilities,
  16. Wrapped<bool?>? transportation,
  17. Wrapped<int?>? lines,
  18. Wrapped<bool?>? hasRentalItem,
  19. Wrapped<bool?>? hasSalesItem,
  20. Wrapped<bool?>? hasMiscellaneousItem,
  21. Wrapped<bool?>? hasLaborItem,
  22. Wrapped<bool?>? hasFacilitiesItem,
  23. Wrapped<String?>? manualSort,
  24. Wrapped<bool?>? manualSortRental,
  25. Wrapped<bool?>? manualSortSales,
  26. Wrapped<bool?>? manualSortMisc,
  27. Wrapped<bool?>? manualSortLabor,
  28. Wrapped<bool?>? manualSortLossAndDamage,
  29. Wrapped<bool?>? manualSortRentalSale,
  30. Wrapped<bool?>? manualSortParts,
  31. Wrapped<String?>? dateStamp,
  32. Wrapped<String?>? auditNote,
  33. Wrapped<String?>? recordTitle,
  34. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  35. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  36. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  37. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsTemplateSettingsTemplateTemplate copyWithWrapped(
    {Wrapped<String?>? templateId,
    Wrapped<String?>? description,
    Wrapped<String?>? departmentId,
    Wrapped<String?>? department,
    Wrapped<String?>? officeLocationId,
    Wrapped<String?>? officeLocation,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? warehouseCode,
    Wrapped<String?>? rateType,
    Wrapped<bool?>? rental,
    Wrapped<bool?>? sales,
    Wrapped<bool?>? miscellaneous,
    Wrapped<bool?>? labor,
    Wrapped<bool?>? facilities,
    Wrapped<bool?>? transportation,
    Wrapped<int?>? lines,
    Wrapped<bool?>? hasRentalItem,
    Wrapped<bool?>? hasSalesItem,
    Wrapped<bool?>? hasMiscellaneousItem,
    Wrapped<bool?>? hasLaborItem,
    Wrapped<bool?>? hasFacilitiesItem,
    Wrapped<String?>? manualSort,
    Wrapped<bool?>? manualSortRental,
    Wrapped<bool?>? manualSortSales,
    Wrapped<bool?>? manualSortMisc,
    Wrapped<bool?>? manualSortLabor,
    Wrapped<bool?>? manualSortLossAndDamage,
    Wrapped<bool?>? manualSortRentalSale,
    Wrapped<bool?>? manualSortParts,
    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 WebApiModulesSettingsTemplateSettingsTemplateTemplate(
      templateId: (templateId != null ? templateId.value : this.templateId),
      description:
          (description != null ? description.value : this.description),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      department: (department != null ? department.value : this.department),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      officeLocation: (officeLocation != null
          ? officeLocation.value
          : this.officeLocation),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      warehouseCode:
          (warehouseCode != null ? warehouseCode.value : this.warehouseCode),
      rateType: (rateType != null ? rateType.value : this.rateType),
      rental: (rental != null ? rental.value : this.rental),
      sales: (sales != null ? sales.value : this.sales),
      miscellaneous:
          (miscellaneous != null ? miscellaneous.value : this.miscellaneous),
      labor: (labor != null ? labor.value : this.labor),
      facilities: (facilities != null ? facilities.value : this.facilities),
      transportation: (transportation != null
          ? transportation.value
          : this.transportation),
      lines: (lines != null ? lines.value : this.lines),
      hasRentalItem:
          (hasRentalItem != null ? hasRentalItem.value : this.hasRentalItem),
      hasSalesItem:
          (hasSalesItem != null ? hasSalesItem.value : this.hasSalesItem),
      hasMiscellaneousItem: (hasMiscellaneousItem != null
          ? hasMiscellaneousItem.value
          : this.hasMiscellaneousItem),
      hasLaborItem:
          (hasLaborItem != null ? hasLaborItem.value : this.hasLaborItem),
      hasFacilitiesItem: (hasFacilitiesItem != null
          ? hasFacilitiesItem.value
          : this.hasFacilitiesItem),
      manualSort: (manualSort != null ? manualSort.value : this.manualSort),
      manualSortRental: (manualSortRental != null
          ? manualSortRental.value
          : this.manualSortRental),
      manualSortSales: (manualSortSales != null
          ? manualSortSales.value
          : this.manualSortSales),
      manualSortMisc: (manualSortMisc != null
          ? manualSortMisc.value
          : this.manualSortMisc),
      manualSortLabor: (manualSortLabor != null
          ? manualSortLabor.value
          : this.manualSortLabor),
      manualSortLossAndDamage: (manualSortLossAndDamage != null
          ? manualSortLossAndDamage.value
          : this.manualSortLossAndDamage),
      manualSortRentalSale: (manualSortRentalSale != null
          ? manualSortRentalSale.value
          : this.manualSortRentalSale),
      manualSortParts: (manualSortParts != null
          ? manualSortParts.value
          : this.manualSortParts),
      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));
}