getCurrentChildren method
Get the current child view IDs of a view (for portal management)
Implementation
List<String> getCurrentChildren(String viewId) {
final node = _nodesByViewId[viewId];
if (node is DCFElement) {
// For elements, get the child view IDs from their children
final childViewIds = <String>[];
for (final child in node.children) {
final childViewId = child.effectiveNativeViewId;
if (childViewId != null) {
childViewIds.add(childViewId);
}
}
return childViewIds;
}
return [];
}