index method
Returns a mutable view onto indexes of a Vector. Throws a RangeError, if any of the indexes index is out of bounds.
Implementation
Vector<T> index(Iterable<int> indexes) {
for (final index in indexes) {
RangeError.checkValueInInterval(index, 0, count - 1, 'indexes');
}
return indexUnchecked(indexes);
}