Cretezy / redux_persist

Persist Redux State
https://pub.dartlang.org/packages/redux_persist
MIT License
130 stars 41 forks source link

Handling bad state #79

Closed MichalNemec closed 1 year ago

MichalNemec commented 1 year ago

Hello, how one can handle bad state, when json file is wrong?

if i change some property or something i usually get serializer exception when peristor.load(); is called. Can i somehow wipe the data so its clean state when something like this happens?

Or how i should handle it?