getLazyUnsafeK<T extends Object> method
Retrieves the lazily loaded dependency, returning the instance directly or throwing an error if not found.
Implementation
@protected
@pragma('vm:prefer-inline')
FutureOr<Lazy<T>> getLazyUnsafeK<T extends Object>(
Entity typeEntity, {
Entity groupEntity = const DefaultEntity(),
bool traverse = true,
}) {
UNSAFE:
return getLazyK<T>(
typeEntity,
groupEntity: groupEntity,
traverse: traverse,
).map((e) => e.unwrap()).unwrap();
}