unmodifiable property

Returns an unmodifiable list view of this.

Note: The inner lists are also unmodifiable.

Implementation

UnmodifiableListView<UnmodifiableListView<T>> get unmodifiable =>
    UnmodifiableListView<UnmodifiableListView<T>>(
        List<UnmodifiableListView<T>>.generate(
            length, (i) => UnmodifiableListView(this[i])));