get<T extends Object> static method
T
get<T extends Object>()
Retrieves the registered instance of type T.
Throws an IonLocatorDependencyNotFoundException if the type has not been registered.
Implementation
static T get<T extends Object>() {
final factory = _factories[T];
if (factory == null) {
throw IonLocatorDependencyNotFoundException(T);
}
return factory() as T;
}