toSortedList method
Converts this Iterable to a SortedList.
Implementation
SortedList<E> toSortedList(
{Comparator<E>? comparator, bool growable = true}) =>
SortedList.of(this, comparator: comparator, growable: growable);
Converts this Iterable to a SortedList.
SortedList<E> toSortedList(
{Comparator<E>? comparator, bool growable = true}) =>
SortedList.of(this, comparator: comparator, growable: growable);