hasInstance<V extends T> method

bool hasInstance<V extends T>()

Tests if the type map has an instance of the generic type V.

Implementation

bool hasInstance<V extends T>() => _map.containsKey(V);