getPanelIds method

List<String> getPanelIds()

Returns the ids of the panels this element directly refers to.

Implementation

List<String> getPanelIds() => switch (elementType) {
  KnowledgePanelElementType.PANEL => <String>[panelElement!.panelId],
  KnowledgePanelElementType.PANEL_GROUP => panelGroupElement!.panelIds,
  _ => const <String>[],
};