forEachKeyPrefixedBy abstract method
void
forEachKeyPrefixedBy(})
Applies f
to each key/value pair of the TTMultiMap
where key is prefixed by prefix
.
Calling f
must not add or remove keys from the TTMultiMap
See keysByPrefix for more information on result ordering,
near neighbour search (maxPrefixEditDistance
) etc.
Throws ArgumentError if prefix
is empty or null.
Implementation
void forEachKeyPrefixedBy(
String prefix, void Function(String key, Iterable<V> values) f,
{int maxPrefixEditDistance = 0});