Is there any way to reset all view model data (ChangeNotifier)? Tried to dispose the view model but didn't work. I want to clear all data when user logout.
Asked
Active
Viewed 1,782 times
1 Answers
0
Does this help you? Basically adding an ObjectKey to your Provider which you change when the user logs out or whatever.

Jelle Scheer
- 31
- 4