getSingletonOrNull<T extends Object> method
Implementation
FutureOr<T>? getSingletonOrNull<T extends Object>({
Entity? groupEntity,
bool traverse = true,
}) {
return getOrNull<Lazy<T>>(
groupEntity: groupEntity,
traverse: traverse,
)?.asSyncOrNull?.singleton;
}