size property

int size

Returns the number of elements in this bag.

Implementation

int get size => _size;