getRange abstract method

List<E> getRange(
  1. int start,
  2. int end
)

Returns all values in the given range.

Throws a RangeError if start or end are out of bounds.

Implementation

List<E> getRange(int start, int end);