operator [] method

String operator [](
  1. int index
)

See the String documentation

Implementation

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