copyWithWrapped method

WebApiModulesAgentOrderModifyPoWorksheetSessionRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? purchaseOrderId,
  3. Wrapped<String?>? recType,
})

Implementation

WebApiModulesAgentOrderModifyPoWorksheetSessionRequest copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<String?>? purchaseOrderId,
    Wrapped<String?>? recType}) {
  return WebApiModulesAgentOrderModifyPoWorksheetSessionRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      purchaseOrderId: (purchaseOrderId != null
          ? purchaseOrderId.value
          : this.purchaseOrderId),
      recType: (recType != null ? recType.value : this.recType));
}