unmodifiable property

Vector<T> unmodifiable

Returns a unmodifiable view of this Vector.

Implementation

Vector<T> get unmodifiable =>
    this is UnmodifiableVectorMixin<T> ? this : UnmodifiableVector<T>(this);