devs, I am working on app and want to create a class like AppState that will manage my app state using provider. I am writing following code means create a separate class that w