copyWithWrapped method

WebApiModulesWarehouseCheckInCheckInItemsRequest copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<String?>? containerId,
  3. Wrapped<String?>? containerItemId,
  4. Wrapped<String?>? containerOutContractId,
  5. Wrapped<String?>? dealId,
  6. Wrapped<String?>? departmentId,
  7. Wrapped<String?>? locationId,
  8. Wrapped<String?>? moduleType,
  9. Wrapped<String?>? contractType,
  10. Wrapped<String?>? userWarehouseId,
  11. Wrapped<bool?>? forceNewSession,
  12. Wrapped<List<WebApiModulesWarehouseCheckInCheckInItem>?>? items,
})

Implementation

WebApiModulesWarehouseCheckInCheckInItemsRequest copyWithWrapped(
    {Wrapped<String?>? contractId,
    Wrapped<String?>? containerId,
    Wrapped<String?>? containerItemId,
    Wrapped<String?>? containerOutContractId,
    Wrapped<String?>? dealId,
    Wrapped<String?>? departmentId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? moduleType,
    Wrapped<String?>? contractType,
    Wrapped<String?>? userWarehouseId,
    Wrapped<bool?>? forceNewSession,
    Wrapped<List<WebApiModulesWarehouseCheckInCheckInItem>?>? items}) {
  return WebApiModulesWarehouseCheckInCheckInItemsRequest(
      contractId: (contractId != null ? contractId.value : this.contractId),
      containerId:
          (containerId != null ? containerId.value : this.containerId),
      containerItemId: (containerItemId != null
          ? containerItemId.value
          : this.containerItemId),
      containerOutContractId: (containerOutContractId != null
          ? containerOutContractId.value
          : this.containerOutContractId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      moduleType: (moduleType != null ? moduleType.value : this.moduleType),
      contractType:
          (contractType != null ? contractType.value : this.contractType),
      userWarehouseId: (userWarehouseId != null
          ? userWarehouseId.value
          : this.userWarehouseId),
      forceNewSession: (forceNewSession != null
          ? forceNewSession.value
          : this.forceNewSession),
      items: (items != null ? items.value : this.items));
}