copyWithWrapped method
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),
);
}