toList method
Creates a List<T>
from the IVectorView<T>
.
Implementation
List<T> toList() {
if (Size == 0) {
return [];
}
return VectorHelper(creator, GetMany, Size, allocator: allocator).toList();
}
Creates a List<T>
from the IVectorView<T>
.
List<T> toList() {
if (Size == 0) {
return [];
}
return VectorHelper(creator, GetMany, Size, allocator: allocator).toList();
}