getLazySingletonUnsafeT<T extends Object> method
Retrieves the lazily loaded singleton dependency unsafely, returning the instance directly or throwing an error if not found or not a singleton.
Implementation
@pragma('vm:prefer-inline')
FutureOr<Object> getLazySingletonUnsafeT<T extends Object>(
Type type, {
Entity groupEntity = const DefaultEntity(),
bool traverse = true,
}) {
return getLazySingletonUnsafeK<T>(
TypeEntity(type),
groupEntity: groupEntity,
traverse: traverse,
);
}