UnmodifiableListView<E> constructor

const UnmodifiableListView<E>(
  1. Iterable<E> internalList
)

Creates an unmodifiable list backed by source.

The source of the elements may be a List or any Iterable with efficient Iterable.length and Iterable.elementAt.

Implementation

const UnmodifiableListView(this.internalList);