containsKey method

bool containsKey(
  1. T key
)

Checks if the list contains the specified key. Returns true if the key is found, false otherwise.

Implementation

bool containsKey(T key) => _table.map((e) => getKey(e) == key).isNotEmpty;