UnmodifiableListView constructor

UnmodifiableListView(Iterable<E> source)

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.

Source

UnmodifiableListView(Iterable<E> source) : _source = source;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/UnmodifiableListView/UnmodifiableListView.html