addConnection method
Implementation
void addConnection(EdgeConnectionsModel connection) {
_notifier.value = data.copyWith(
connections: [...data.connections, connection],
);
}
void addConnection(EdgeConnectionsModel connection) {
_notifier.value = data.copyWith(
connections: [...data.connections, connection],
);
}