removeByKey method

void removeByKey(
  1. String key
)

Removes the key-value pair with the specified key.

Implementation

void removeByKey(String key) {
  int? index = _indizes[key];
  if (index != null) removeAt(index);
}