containsKey method

  1. @override
bool containsKey (
  1. Object key

Returns true if this map contains the given key.

Returns true if any of the keys in the map are equal to key according to the equality used by the map.


bool containsKey(Object key) {
  for(JMapEntry entry in _items) if(entry.key == key) return true;
  return false;