has<T extends Object> method

bool has<T extends Object>()

Checks if a service of the given type exists in this context

Implementation

bool has<T extends Object>() => _services.containsKey(T);