elementAt method

T elementAt(
  1. int index
)

Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this list.

Implementation

T elementAt(int index) => get(index);