getAnnotationsForNode method
Get annotations that depend on a specific node
Implementation
List<Annotation> getAnnotationsForNode(String nodeId) {
return annotations
.where((annotation) => annotation.hasDependency(nodeId))
.toList();
}
Get annotations that depend on a specific node
List<Annotation> getAnnotationsForNode(String nodeId) {
return annotations
.where((annotation) => annotation.hasDependency(nodeId))
.toList();
}