toList method

  1. @useResult
KtList<T> toList()

Returns a KtList containing all elements.

Implementation

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