On Count Changed action to the Count controller, I am trying to check if an item is already present in the SelectedItem List (App State Variable). If it is true, I want to update just the quantity else, I want to add a new entry into the SelectedItem (App State Variable List).
The App State Variable List includes a custom Data Type Object "Items" with details of the item added like the itemId, ItemName etc.