operator [] method

D operator [](
  1. String variable
)

Returns the value for a variable, or TOP if not defined.

Implementation

D operator [](String variable) => _values[variable] ?? _defaultValue.top;