copyWithWrapped method

Implementation

WebApiModulesHomeControlsContractItemDetailVoidItemsRequest copyWithWrapped(
    {Wrapped<String?>? contractId,
    Wrapped<List<WebApiModulesHomeControlsContractItemDetailContractItem>?>?
        items,
    Wrapped<String?>? reason,
    Wrapped<bool?>? returnToInventory}) {
  return WebApiModulesHomeControlsContractItemDetailVoidItemsRequest(
      contractId: (contractId != null ? contractId.value : this.contractId),
      items: (items != null ? items.value : this.items),
      reason: (reason != null ? reason.value : this.reason),
      returnToInventory: (returnToInventory != null
          ? returnToInventory.value
          : this.returnToInventory));
}