contains method

bool contains(
  1. K key
)

Returns whether the given key is in this Map. @param {K} key The key to look up in the Map. @return {boolean} Whether or not the key is contained within the Map.

Implementation

_i2.bool contains(K key) => _i4.callMethod(
      this,
      'contains',
      [key],
    );