operator [] method

String operator [](
  1. int index
)

Returns the index element.

Implementation

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