toElements method
Implementation
@override
List<UINode>? toElements(elements) {
if (elements is UIComponent) {
var content = elements.content;
return content != null ? [content] : null;
} else if (elements is UIAsyncContent) {
var content = elements.content;
return content != null ? [content] : null;
} else {
return super.toElements(elements);
}
}