Vector<T extends Comparable> constructor
- List<
T> _data
Creates a Vector containing the elements of the provided list.
To instantiate a compile-time constant vector, pass a const list.
For example:
const myVec = Vector<int>([10, 20, 30]);
final myVec2 = Vector<int>([10, 20, 30]);
Implementation
const Vector(this._data);