singleton<T extends dynamic> method
Resolve the service instance from its namespace /// ```dart final myService = ioc.singleton('Mineral/Services/MyService'); final myService = ioc.singleton
Implementation
T singleton<T extends dynamic> (String namespace) {
return Ioc._instance._services[namespace] as T;
}