Creates an unmodifiable Map from the current IMapView instance.
Map<K, V> toMap() => size == 0 ? Map.unmodifiable(<K, V>{}) : MapHelper.toMap<K, V>(first(), length: size, creator: _iterableCreator);