operator [] method

String operator [](
  1. int index
)

Operator overloads

Implementation

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