isNodeSelected method

bool isNodeSelected(
  1. String nodeId
)

Checks if a node is currently selected.

Parameters:

  • nodeId: The ID of the node to check

Returns true if the node is selected, otherwise false.

Implementation

bool isNodeSelected(String nodeId) => _selectedNodeIds.contains(nodeId);