toList method

KtList<T> toList()

Returns a KtList containing all elements.

Implementation

KtList<T> toList() => listFrom(iter);