contains method
Returns whether this TTMultiMap contains an
association between keyMapping(
key
)
and value
.
Throws ArgumentError if key
is empty or null.
Implementation
@override
bool contains(String key, V value) {
final keyNode = _root?.getKeyNode(_mapKey(key));
// Does the key map to anything?
if (identical(keyNode, null)) {
return false;
}
return keyNode.values.contains(value);
}