unlock property

Map<K, Set<V>> unlock

Unlocks the map, returning a regular (mutable, ordered) Map<K, Set<V> of type LinkedHashMap. This map is "safe", in the sense that is independent from the original IMap.

Implementation

Map<K, Set<V>> get unlock {
  Map<K, Set<V>> result = {};
  for (MapEntry<K, ISet<V>> entry in _mapOfSets.entries) {
    result[entry.key] = entry.value.unlock;
  }
  return result;
}