operator [] method

dynamic operator [](
  1. String key
)

Gets or sets the element at the specified index.

Implementation

operator [](String key) => get(key);