operator [] method

int operator [](
  1. int index
)

Returns the int at the specified index

Implementation

int operator [](int index) => data[index];