hasDependency method

bool hasDependency(
  1. String nodeId
)

Checks if this annotation depends on a specific node.

Returns true if the node ID is in the annotation's dependencies.

Implementation

bool hasDependency(String nodeId) {
  return _dependencies.contains(nodeId);
}