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