lastDescendant function
Returns last descendant in the scope
in dom order
Implementation
Element lastDescendant(Element scope) {
Element current = scope;
while (current.children.isNotEmpty) {
current = _lastChild(current);
}
return current;
}