Initialized with values from array starting at offset.
array
offset
factory Vector2.array(List<double> array, [int offset = 0]) => Vector2.zero()..copyFromArray(array, offset);