asMap method

Map<Type, T> asMap()

Returns a readonly view onto the underlying map.

Implementation

Map<Type, T> asMap() => Map.unmodifiable(_map);