AnnotationDependency constructor

const AnnotationDependency({
  1. required String nodeId,
  2. required AnnotationBehavior type,
  3. Map<String, dynamic> metadata = const {},
})

Creates an annotation dependency.

Parameters

  • nodeId: The ID of the node this dependency references
  • type: The type of dependency behavior
  • metadata: Optional custom data for this dependency

Implementation

const AnnotationDependency({
  required this.nodeId,
  required this.type,
  this.metadata = const {},
});