key method

String? key(
  1. int index
)

The key() method of the Storage interface, when passed a number n, 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

external String? key(int index);