contains method

bool contains(
  1. K key
)

Implementation

bool contains(K key) {
  return _map[key] != null;
}