TTMultiMapSet<V>.from constructor
TTMultiMapSet<V>.from (
- TTMultiMap<
V> other
Create a TTMultiMapSet from a TTMultiMap.
Values are stored as Set collections, thus if other
stores values in list
then result will not be an exact copy.
Create a TTMultiMapList from a TTMultiMap.
Implementation
TTMultiMapSet.from(TTMultiMap<V> other)
: super.from(other as _TTMultiMapImpl<V>) {
final otherRoot = other._root;
if (!identical(otherRoot, null)) {
_root = NodeSet.from(otherRoot, null, _runePool);
}
}