setConnections method
setConnections
Replaces the current connections with a new list.
Implementation
void setConnections(List<EdgeConnectionsModel<E>> connections) {
_notifier.value = data.copyWith(
connections: List<EdgeConnectionsModel<E>>.from(connections),
);
}