toImmutableList method

KtList<T> toImmutableList()

Converts the List to a truly immutable KtList

Implementation

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