copyWithWrapped method

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<String?>? responsiblePersonId,
})

Implementation

WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest copyWithWrapped(
    {Wrapped<String?>? contractId, Wrapped<String?>? responsiblePersonId}) {
  return WebApiModulesWarehouseCheckOutCompleteCheckOutContractRequest(
      contractId: (contractId != null ? contractId.value : this.contractId),
      responsiblePersonId: (responsiblePersonId != null
          ? responsiblePersonId.value
          : this.responsiblePersonId));
}