toList method

List<T> toList()

Get all items as list (sorted by priority)

Implementation

List<T> toList() => _heap.toList();