getKnowledgePanel static method
Returns the KP that matches the panelId.
Implementation
static KnowledgePanel? getKnowledgePanel(
Product product,
String panelId,
) => product.knowledgePanels?.panelIdToPanelMap[panelId];
Returns the KP that matches the panelId.
static KnowledgePanel? getKnowledgePanel(
Product product,
String panelId,
) => product.knowledgePanels?.panelIdToPanelMap[panelId];