onPersistentStateError method

void onPersistentStateError(
  1. Object? e,
  2. StackTrace s
)

a callback to listen when a cached storage couldn't be parsed or if the state couldn't be saved

Implementation

void onPersistentStateError(Object? e, StackTrace s) {}