clearSessionImpressions method
Clear all persisted impression counts and session state
Implementation
Future<void> clearSessionImpressions() async {
_counts.clear();
_sessionImpressed.clear();
_loaded = true;
try {
final prefs = await SharedPreferences.getInstance();
await prefs.remove(_kImpressionCountsKey);
} catch (_) {}
}