copyWithWrapped method

WebApiModulesAgentPurchaseOrderCopyPurchaseOrderRequest copyWithWrapped({
  1. Wrapped<String?>? purchaseOrderId,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? warehouseId,
})

Implementation

WebApiModulesAgentPurchaseOrderCopyPurchaseOrderRequest copyWithWrapped(
    {Wrapped<String?>? purchaseOrderId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? warehouseId}) {
  return WebApiModulesAgentPurchaseOrderCopyPurchaseOrderRequest(
      purchaseOrderId: (purchaseOrderId != null
          ? purchaseOrderId.value
          : this.purchaseOrderId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId));
}