getServiceSingletonT method
Implementation
FutureOr<Service> getServiceSingletonT(
Type type, {
Object? params,
Entity? groupEntity,
bool traverse = true,
}) {
final groupEntity1 = groupEntity ?? focusGroup;
final value = getServiceSingletonOrNullT(
type,
params: params,
groupEntity: groupEntity1,
traverse: traverse,
);
if (value == null) {
throw DependencyNotFoundException(
type: type,
groupEntity: groupEntity1,
);
}
return value;
}