operator [] method

T operator [](
  1. int idx
)

Implementation

T operator [](int idx) => elementAt(idx);