getUIComponentByContent method

UIComponent? getUIComponentByContent(
  1. UIElement? uiComponentContent, {
  2. bool includePurgedEntries = false,
})

Implementation

UIComponent? getUIComponentByContent(UIElement? uiComponentContent,
    {bool includePurgedEntries = false}) {
  if (uiComponentContent == null) return null;
  if (includePurgedEntries) {
    return _uiComponentsTree.getAlsoFromPurgedEntries(uiComponentContent);
  } else {
    return _uiComponentsTree.get(uiComponentContent);
  }
}