deselectAllPorts method
dynamic
deselectAllPorts()
Implementation
deselectAllPorts() {
selectedPortId = null;
canvasReader.model.getAllComponents().values.forEach((component) {
if (component.type == 'port') {
(component.data as PortData)
.setPortState(arePortsVisible ? PortState.shown : PortState.hidden);
component.updateComponent();
}
});
}