IndexVectorExtension<T> extension

on

Methods

index(Iterable<int> indexes) Vector<T>

Available on Vector<T>, provided by the IndexVectorExtension extension

Returns a mutable view onto indexes of a Vector. Throws a RangeError, if any of the indexes index is out of bounds.
indexUnchecked(Iterable<int> indexes) Vector<T>

Available on Vector<T>, provided by the IndexVectorExtension extension

Returns a mutable view onto indexes of a Vector. The behavior is undefined, if any of the indexes are out of bounds.