key method
- @override
- @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(), WindowsPlatform(), LinuxPlatform()])
- required int index,
override
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.
Implementation
@override
@SupportedPlatforms(
platforms: [
AndroidPlatform(),
IOSPlatform(),
MacOSPlatform(),
WebPlatform(),
WindowsPlatform(),
LinuxPlatform(),
],
)
Future<String> key({required int index}) => super.key(index: index);