Vector4.all constructor Null safety

Vector4.all(
  1. double value
)

Splat value into all lanes of the vector.

Implementation

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