contains method

bool contains(
  1. K key
)

Indicates whether key is contained within the items.

Implementation

bool contains(K key) => items.keys.contains(key);