resetAll method

Future<void> resetAll()

Reset all onboarding states (useful for testing or new app versions).

Implementation

Future<void> resetAll() async {
  await init();
  if (_prefs == null) return;
  final keys = _prefs!.getKeys().where((k) => k.startsWith(_keyPrefix));
  for (final key in keys) {
    await _prefs!.remove(key);
  }
}