toUnmodifiable method

List<E> toUnmodifiable()

Returns an unmodifiable List view of this collection.

Implementation

List<E> toUnmodifiable() => core_coll.UnmodifiableListView(this);