copyWithWrapped method

WebApiModulesWarehouseContractSessionRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? dealId,
  3. Wrapped<String?>? departmentId,
  4. Wrapped<String?>? locationId,
  5. Wrapped<String?>? warehouseId,
  6. Wrapped<String?>? contractType,
})

Implementation

WebApiModulesWarehouseContractSessionRequest copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<String?>? dealId,
    Wrapped<String?>? departmentId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? contractType}) {
  return WebApiModulesWarehouseContractSessionRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      contractType:
          (contractType != null ? contractType.value : this.contractType));
}