comparator property

Comparator<T>? comparator
inherited

Returns the comparator used to sort graph vertices.

Implementation

Comparator<T>? get comparator => _comparator;
void comparator=(Comparator<T>? comparator)
inherited

Sets the comparator used to sort graph vertices.

Implementation

set comparator(Comparator<T>? comparator) {
  _comparator = comparator;
  _sortedVertices.updateCache();
}