copyWithWrapped method

WebApiModulesHomeControlsInventoryMaterialInventoryMaterial copyWithWrapped({
  1. Wrapped<String?>? inventoryMaterialId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? materialId,
  4. Wrapped<String?>? description,
  5. Wrapped<String?>? dateStamp,
  6. Wrapped<String?>? auditNote,
  7. Wrapped<String?>? recordTitle,
  8. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  9. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  10. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  11. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryMaterialInventoryMaterial copyWithWrapped(
    {Wrapped<String?>? inventoryMaterialId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? materialId,
    Wrapped<String?>? description,
    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 WebApiModulesHomeControlsInventoryMaterialInventoryMaterial(
      inventoryMaterialId: (inventoryMaterialId != null
          ? inventoryMaterialId.value
          : this.inventoryMaterialId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      materialId: (materialId != null ? materialId.value : this.materialId),
      description:
          (description != null ? description.value : this.description),
      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));
}