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