removeItem method
When passed a key
name, will remove that key from the given Storage object if it exists.
NOTE for Web: this method will have effect only if the iframe has the same origin.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Web
Implementation
Future<void> removeItem({required String key}) =>
platform.removeItem(key: key);