toUnmodifiable method
Returns an unmodifiable List view of this collection.
Implementation
List<E> toUnmodifiable() => UnmodifiableListView(this);
Returns an unmodifiable List view of this collection.
List<E> toUnmodifiable() => UnmodifiableListView(this);