contains method

bool contains(
  1. Key key
)

Returns true if the index contains the given key.

Implementation

bool contains(Key key) => _items.containsKey(key);