Remove function
Implementation
Future<void> Remove(String key) {
if (key.isEmpty) return Future<void>.value();
_expireCookie(Uri.encodeComponent(key));
_largeMemoryFallback.remove(key);
try {
web.window.localStorage.removeItem(key);
} catch (_) {
// The cookie and in-memory value have still been removed.
}
return Future<void>.value();
}