getSingletonOrNullT method
Implementation
FutureOr<Object>? getSingletonOrNullT(
Type type, {
Entity? groupEntity,
bool traverse = true,
}) {
return (getOrNullK(
Entity.type(Lazy, [type]),
groupEntity: groupEntity,
traverse: traverse,
) as Lazy?)
?.singleton;
}