lookup method
Get the value at given key if present, otherwise return None.
Implementation
Option<V> lookup(K key) {
var value = this[key];
if (value != null) return Option.of(value);
if (containsKey(key)) return Option.of(value as V);
return const None();
}