copyWithWrapped method

WebApiModulesInventoryInventoryReceiptItemBarcodes copyWithWrapped({
  1. Wrapped<int?>? barcodeHoldingId,
  2. Wrapped<String?>? barcode,
  3. Wrapped<String?>? serialNumber,
  4. Wrapped<String?>? assetId,
  5. Wrapped<String?>? auditNote,
  6. Wrapped<String?>? recordTitle,
  7. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  8. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  9. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  10. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesInventoryInventoryReceiptItemBarcodes copyWithWrapped(
    {Wrapped<int?>? barcodeHoldingId,
    Wrapped<String?>? barcode,
    Wrapped<String?>? serialNumber,
    Wrapped<String?>? assetId,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesInventoryInventoryReceiptItemBarcodes(
      barcodeHoldingId: (barcodeHoldingId != null
          ? barcodeHoldingId.value
          : this.barcodeHoldingId),
      barcode: (barcode != null ? barcode.value : this.barcode),
      serialNumber:
          (serialNumber != null ? serialNumber.value : this.serialNumber),
      assetId: (assetId != null ? assetId.value : this.assetId),
      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));
}