key method
When passed a number index
, returns the name of the nth key in a given Storage object.
The order of keys is user-agent defined, so you should not rely on it.
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<String> key({required int index}) {
throw UnimplementedError('key is not implemented on the current platform');
}