containsService<TService extends Object> method
Implementation
bool containsService<TService extends Object>() {
for (final descriptor in this) {
if (descriptor.serviceType == TService) {
return true;
}
}
return false;
}