copyWithWrapped method

WebApiModulesInventoryInventoryReceiptAddBarcodesToInventoryRequest copyWithWrapped({
  1. Wrapped<String?>? inventoryReceiptId,
  2. Wrapped<String?>? inventoryReceiptItemId,
})

Implementation

WebApiModulesInventoryInventoryReceiptAddBarcodesToInventoryRequest
    copyWithWrapped(
        {Wrapped<String?>? inventoryReceiptId,
        Wrapped<String?>? inventoryReceiptItemId}) {
  return WebApiModulesInventoryInventoryReceiptAddBarcodesToInventoryRequest(
      inventoryReceiptId: (inventoryReceiptId != null
          ? inventoryReceiptId.value
          : this.inventoryReceiptId),
      inventoryReceiptItemId: (inventoryReceiptItemId != null
          ? inventoryReceiptItemId.value
          : this.inventoryReceiptItemId));
}