connectIde method

void connectIde(
  1. String name,
  2. String type, {
  3. String? workspacePath,
  4. int? pid,
})

Implementation

void connectIde(String name, String type, {String? workspacePath, int? pid}) {
  connection.addIdeConnection(
    name,
    IdeConnection(
      name: name,
      type: type,
      status: ConnectionStatus.connected,
      workspacePath: workspacePath,
      pid: pid,
    ),
  );
}