hasNode method

bool hasNode(
  1. String nodeId
)

Checks if a node is an explicit member of this group.

For GroupBehavior.bounds, always returns false since membership is determined spatially, not by ID.

Implementation

bool hasNode(String nodeId) => _nodeIds.contains(nodeId);