I'm using the Provider package with my Flutter app. When the user signs out I would like to reset all the providers to avoid stale data upon the next sign in.
Currently the only way I know to access providers is via Provider.of<T>()
which I will have to call once per provider. Is there a simpler way to do this?