operator [] method

T operator [](
  1. int index
)

Implementation

T operator [](int index) {
  RangeError.checkValidIndex(index, this, 'index', _size);
  return _storage[index] as T;
}