copyWithWrapped method

WebApiModulesWarehouseCheckOutAddMiscItemRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<int?>? quantity,
  5. Wrapped<String?>? description,
})

Implementation

WebApiModulesWarehouseCheckOutAddMiscItemRequest copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? inventoryId,
  Wrapped<int?>? quantity,
  Wrapped<String?>? description,
}) {
  return WebApiModulesWarehouseCheckOutAddMiscItemRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    quantity: (quantity != null ? quantity.value : this.quantity),
    description: (description != null ? description.value : this.description),
  );
}