capacity property

int capacity

Returns the number of elements the bag can hold without growing.

Implementation

int get capacity => _data.length;