copyWithWrapped method

WebApiModulesSettingsWarehouseLocationWarehouseLocation copyWithWrapped({
  1. Wrapped<String?>? warehouseLocationId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<String?>? warehouse,
  4. Wrapped<String?>? officeLocationId,
  5. Wrapped<String?>? officeLocation,
  6. Wrapped<String?>? dateStamp,
  7. Wrapped<String?>? auditNote,
  8. Wrapped<String?>? recordTitle,
  9. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  10. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  11. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  12. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesSettingsWarehouseLocationWarehouseLocation copyWithWrapped(
    {Wrapped<String?>? warehouseLocationId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? officeLocationId,
    Wrapped<String?>? officeLocation,
    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 WebApiModulesSettingsWarehouseLocationWarehouseLocation(
      warehouseLocationId: (warehouseLocationId != null
          ? warehouseLocationId.value
          : this.warehouseLocationId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      officeLocation: (officeLocation != null
          ? officeLocation.value
          : this.officeLocation),
      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));
}