traverseAncestors method
void
traverseAncestors(
- dynamic callback
inherited
Implementation
void traverseAncestors(callback) {
var parent = this.parent;
if (parent != null) {
callback(parent);
parent.traverseAncestors(callback);
}
}