getEffectiveEndPoint method

ConnectionEndPoint getEffectiveEndPoint(
  1. ConnectionEndPoint themeEndPoint
)

Gets the effective end endpoint marker for rendering.

Returns the instance-specific endPoint if set, otherwise falls back to the provided themeEndPoint from the theme.

Parameters:

  • themeEndPoint: The default end point from the theme

Returns: The end endpoint configuration to use for rendering

Implementation

ConnectionEndPoint getEffectiveEndPoint(ConnectionEndPoint themeEndPoint) {
  return endPoint ?? themeEndPoint;
}