length property

int get length

The number of dimensions of the vector.

VectorValue(<double>[0.1, 0.2]).length; // 2

Implementation

int get length => _values.length;