Vector4.array constructor Null safety

Vector4.array(
  1. List<double> array,
  2. [int offset = 0]
)

Initialized with values from array starting at offset.

Implementation

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