deleteEntry method
Removes key from either the standard or secure store.
Implementation
Future<void> deleteEntry(String key, {required bool isSecure}) async {
assert(_initialized, 'Call init() before deleting.');
if (isSecure) {
await _secure!.delete(key);
_secureEntries = Map.unmodifiable(Map.of(_secureEntries)..remove(key));
} else {
await _standard!.delete(key);
_standardEntries =
Map.unmodifiable(Map.of(_standardEntries)..remove(key));
}
notifyListeners();
}