delete method
Delete the cookie value with the given key in the storage.
Implementation
@override
Future<void> delete(String key) async {
// Ensure _prefs has been initialized before using it
_prefs ??= await SharedPreferences.getInstance();
await _prefs!.remove(_keyPrefix + key);
}