copyWithWrapped method

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryNewPurchaseCostRequest
    copyWithWrapped(
        {Wrapped<String?>? cost,
        Wrapped<String?>? physicalInventoryId,
        Wrapped<String?>? masterId}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryNewPurchaseCostRequest(
      cost: (cost != null ? cost.value : this.cost),
      physicalInventoryId: (physicalInventoryId != null
          ? physicalInventoryId.value
          : this.physicalInventoryId),
      masterId: (masterId != null ? masterId.value : this.masterId));
}