dispose method
void
dispose()
Dispose all items in the scope. Warning: don't use this on your root container. You should only use this on scoped containers
Implementation
void dispose() {
for (final type in singletons.keys) {
serviceDefinitionsByType[type]!._dispose(singletons[type]);
}
}