SortedList<E>.withSelector constructor

SortedList<E>.withSelector(
  1. Iterable<E> _source,
  2. Comparable selector(
    1. E element
    ),
  3. int order,
  4. Comparator<E>? parentComparator,
)

Implementation

SortedList.withSelector(
  this._source,
  Comparable Function(E element) selector,
  int order,
  Comparator<E>? parentComparator,
) : _comparator = _getComparator(order, selector, parent: parentComparator);