removeAll method
Delete multiple keys at once
Implementation
Future<void> removeAll(List<String> keys) async {
_checkInit();
try {
await _withRetry(() async {
await Future.wait(keys.map((key) => _secureStorage.delete(key: key)));
for (var key in keys) {
_removeFromCache(key);
}
});
} catch (e) {
throw SecureStorageException('Failed to remove multiple keys', e);
}
}