copyWithWrapped method

WebApiModulesWarehouseCheckOutCreateOutContractRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? officeLocationId,
  3. Wrapped<String?>? warehouseId,
})

Implementation

WebApiModulesWarehouseCheckOutCreateOutContractRequest copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? warehouseId,
}) {
  return WebApiModulesWarehouseCheckOutCreateOutContractRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
  );
}