nextElementSibling property
Implementation
Element? get nextElementSibling {
Node? next = nextSibling;
while(next != null) {
if (next is Element) {
return next;
}
next = next.nextSibling;
}
return null;
}
Element? get nextElementSibling {
Node? next = nextSibling;
while(next != null) {
if (next is Element) {
return next;
}
next = next.nextSibling;
}
return null;
}