getSegmentBounds method
Get the cached segment bounds for spatial indexing. Returns null if there's no cached path for this connection.
Implementation
List<Rect>? getSegmentBounds(String connectionId) {
return _getCachedPath(connectionId)?.segmentBounds;
}