capacity property
int
capacity
Returns the number of elements the bag can hold without growing.
Implementation
int get capacity => _data.length;
Returns the number of elements the bag can hold without growing.
int get capacity => _data.length;