toImmutableList method

  1. @useResult
KtList<T> toImmutableList()

Converts the Iterable to a truly immutable KtList

Implementation

@useResult
KtList<T> toImmutableList() => KtList.from(this);