size property

int get size

Returns the number of elements in the priority queue.

Implementation

int get size => _heap.length;