clearSecureData static method
Implementation
static Future<void> clearSecureData(String key) async {
try {
if (_prefs == null) throw Exception('SharedPreferences not initialized');
await _prefs!.remove(key);
} catch (e) {
throw Exception('Failed to clear data: $e');
}
}