toIList method

IList<T> toIList()

Convert this iterator into an IList.

Implementation

IList<T> toIList() {
  return IList(toIterable());
}