remove method

bool remove(
  1. K key
)

Removes a key (if found) from the Map.

Be careful not to call this method while iterating over the collection. @param {K} key The key to remove. @return {boolean} true if the key was found and removed, false otherwise.

Implementation

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