operator [] method

V operator [](
  1. K key
)

Returns the value of key.

Implementation

V operator [](K key) => onGet(key);