addExternalElementToElement method
Implementation
@override
List<Node>? addExternalElementToElement(
Node element, Object? externalElement) {
if (element is Element && externalElement is Node) {
element.children.add(externalElement as Element);
return [externalElement];
}
return null;
}