containsKey method
- 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;
Checks if the list contains the specified key
.
Returns true
if the key
is found, false
otherwise.
bool containsKey(T key) => _table.map((e) => getKey(e) == key).isNotEmpty;