Vector2.all constructor

Vector2.all(double value)

Splat value into all lanes of the vector.

Implementation

factory Vector2.all(double value) => new Vector2.zero()..splat(value);