operator [] method

T operator [](
  1. int index
)

Implementation

@pragma("vm:prefer-inline")
T operator [](int index) => list[index];