keys method

Iterable<String> keys()

Returns an iterator allowing you to go through all keys of the key/value pairs contained in this object.

MDN Reference

Implementation

Iterable<String> keys() => _storage.map((e) => e.$1).toSet();