copyWithWrapped method

WebApiModulesInventoryInventoryCopyInventoryRequest copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<String?>? newICode,
  3. Wrapped<String?>? newDescription,
})

Implementation

WebApiModulesInventoryInventoryCopyInventoryRequest copyWithWrapped(
    {Wrapped<String?>? inventoryId,
    Wrapped<String?>? newICode,
    Wrapped<String?>? newDescription}) {
  return WebApiModulesInventoryInventoryCopyInventoryRequest(
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      newICode: (newICode != null ? newICode.value : this.newICode),
      newDescription: (newDescription != null
          ? newDescription.value
          : this.newDescription));
}