clear method
Implementation
Future<void> clear() async {
try {
_storage.clear();
final dir = Directory(storagePath);
await dir.delete(recursive: true);
// create basePath + ".storage" folder if not exists
if (!Directory(storagePath).existsSync()) {
Directory(storagePath).createSync();
}
} catch (e) {
// Handle exceptions related to clearing secure storage
zprint('Error clearing secure storage: $e');
}
}