wipe method
Wipe the stored snapshot. Called on corrupt data or user "Start Fresh".
Implementation
Future<void> wipe() async {
try {
final prefs = await SharedPreferences.getInstance();
await prefs.remove(_snapshotKey);
} catch (e) {
debugPrint('[Trinity] Failed to wipe snapshot: $e');
}
}