getItem method
When passed a key
name, will return that key's value, or null
if the key does not exist, in the given Storage object.
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<dynamic> getItem({required String key}) => platform.getItem(key: key);