copyWithWrapped method

WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview copyWithWrapped({
  1. Wrapped<String?>? id,
  2. Wrapped<String?>? sessionId,
  3. Wrapped<String?>? parentId,
  4. Wrapped<String?>? grandParentId,
  5. Wrapped<String?>? inventoryId,
  6. Wrapped<String?>? warehouseId,
  7. Wrapped<double?>? quantity,
  8. Wrapped<String?>? note,
  9. Wrapped<String?>? auditNote,
  10. Wrapped<String?>? recordTitle,
  11. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  12. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  13. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  14. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview
    copyWithWrapped(
        {Wrapped<String?>? id,
        Wrapped<String?>? sessionId,
        Wrapped<String?>? parentId,
        Wrapped<String?>? grandParentId,
        Wrapped<String?>? inventoryId,
        Wrapped<String?>? warehouseId,
        Wrapped<double?>? quantity,
        Wrapped<String?>? note,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview(
      id: (id != null ? id.value : this.id),
      sessionId: (sessionId != null ? sessionId.value : this.sessionId),
      parentId: (parentId != null ? parentId.value : this.parentId),
      grandParentId:
          (grandParentId != null ? grandParentId.value : this.grandParentId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      quantity: (quantity != null ? quantity.value : this.quantity),
      note: (note != null ? note.value : this.note),
      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));
}