I am trying to build an application where you make simple schedules. I created an Item called Activity and added some properties like ‘duration’ and ‘title,’ but I can’t seem to add this to a Storage object. I guess I am struggling a bit to understand what an ‘Item’ is. Is it just a normal class like in other OOP languages?
How should I do if I want to have an ‘Activity’ type and store it in a cache?