clearSecure static method
Clears all values from secure storage.
Warning: This will remove all secure data. Use with caution.
Implementation
static Future<void> clearSecure() async {
try {
await _secureStorage.deleteAll();
} catch (e, stackTrace) {
dump(
'[JetStorage.clearSecure] Error clearing secure storage: ${e.toString()}',
stackTrace: stackTrace,
);
rethrow;
}
}