subvector method

Vector subvector(
  1. int start, [
  2. int? end
])

Implementation

Vector subvector(int start, [int? end]) {
  return Vector.fromList(elements.sublist(start, end));
}