asUnmodifiableListView method
Returns an unmodifiable view of this
instance.
- Will just cast if is already an UnmodifiableListView.
Implementation
UnmodifiableListView<T> asUnmodifiableListView() {
var self = this;
return self is UnmodifiableListView<T>
? self
: UnmodifiableListView<T>(self);
}