getItem method

String? getItem(
  1. String key
)

The getItem() method of the Storage interface, when passed a key name, will return that key's value, or null if the key does not exist, in the given Storage object.

Implementation

external String? getItem(String key);