Connection constructor
Connection({
- required Port inPort,
- required NodeModel inNode,
- required NodeModel outNode,
- required Port outPort,
- bool selected = false,
Implementation
Connection({
required this.inPort,
required this.inNode,
required this.outNode,
required this.outPort,
this.selected = false,
}) {
connectionPath =
SolidConnectionPath(inputPort: inPort, outputPort: outPort);
}