operator [] method

String operator [](
  1. String key
)

Overloads the index operator to return the value for key using data.

Implementation

String operator [](String key) {
  return data(key);
}