operator [] method

V? operator [](
  1. K key
)

Get value by key.

Implementation

V? operator [](K key) => val[key];