has method

bool has(
  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 has(K key) => _i4.callMethod(
      this,
      'has',
      [key],
    );