get method

V? get(
  1. K key
)

Returns the value associated with this key, or null if the key doesn't exist in the map. Note this can't differentiate between the key not existing and the value being null.

This is the same as using the [] operator.

Implementation

V? get(K key) => _map.containsKey(key)
    ? //
    _map[key]
    : (_allowedInExpando(key) ? _expando[key!] as V : null);