size method

int size()

Returns the number of elements in the vector.

Implementation

int size() => _data.length;