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