Vector2.array constructor

Vector2.array(List<double> array, [ int offset = 0 ])

Initialized with values from array starting at offset.

Implementation

factory Vector2.array(List<double> array, [int offset = 0]) =>
    new Vector2.zero()..copyFromArray(array, offset);