trackDependency static method
Track dependency relationship (only called when enabled) Internal use only - called from Rx/Computed value getters
Implementation
static void trackDependency(String dependentId, String dependencyId) {
if (!_enabled || !_trackDependencies) return;
final edgeKey = '$dependentId->$dependencyId';
if (!_dependencyGraph.containsKey(edgeKey)) {
_dependencyGraph[edgeKey] = _DependencyEdge(
from: dependentId,
to: dependencyId,
createdAt: DateTime.now(),
);
}
}