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?>? spaceId,
  8. Wrapped<String?>? locationId,
  9. Wrapped<String?>? moduleType,
  10. Wrapped<String?>? contractType,
  11. Wrapped<String?>? userWarehouseId,
  12. Wrapped<bool?>? forceNewSession,
  13. Wrapped<bool?>? forceCheckInItemInContainer,
  14. 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?>? spaceId,
  Wrapped<String?>? locationId,
  Wrapped<String?>? moduleType,
  Wrapped<String?>? contractType,
  Wrapped<String?>? userWarehouseId,
  Wrapped<bool?>? forceNewSession,
  Wrapped<bool?>? forceCheckInItemInContainer,
  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),
    spaceId: (spaceId != null ? spaceId.value : this.spaceId),
    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),
    forceCheckInItemInContainer: (forceCheckInItemInContainer != null
        ? forceCheckInItemInContainer.value
        : this.forceCheckInItemInContainer),
    items: (items != null ? items.value : this.items),
  );
}