ConnectionStartContext<T> constructor

const ConnectionStartContext<T>({
  1. required Node<T> sourceNode,
  2. required Port sourcePort,
  3. required List<String> existingConnections,
})

Creates a connection start context.

Parameters:

  • sourceNode: The node where the connection is starting
  • sourcePort: The port where the connection is starting
  • existingConnections: IDs of existing connections from this port

Implementation

const ConnectionStartContext({
  required this.sourceNode,
  required this.sourcePort,
  required this.existingConnections,
});