key method

  1. @override
  2. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WebPlatform(), WindowsPlatform(), LinuxPlatform()])
Future<String> key({
  1. 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);