toList method
Creates an unmodifiable List from the current IVectorView instance.
Implementation
List<T> toList() {
if (size == 0) return List.unmodifiable(<T>[]);
return VectorHelper(
_creator,
_enumCreator,
_intType,
getMany,
size,
).toList();
}