getUnchecked method

  1. @override
int getUnchecked(
  1. int index
)
override

Returns the element at the given index in the range.

Does not perform range checks. The result is undefined, unless the index is within the expected bounds 0 <= index < length.

Implementation

@override
int getUnchecked(int index) => start + step * index;