toVector method

Vector<T> toVector({
  1. VectorFormat? format,
})

Creates a new Vector containing the same elements as this one.

Implementation

Vector<T> toVector({VectorFormat? format}) =>
    copyInto(Vector(dataType, count, format: format));