isChildOfElement method
Implementation
@override
bool isChildOfElement(Node? parent, Node? child) {
if (parent == null || child == null) return false;
if (parent.isA<Element>()) {
return _isChildOfElementImpl(parent as Element, child);
}
return false;
}