AbstractControl root

Source

AbstractControl get root {
  AbstractControl x = this;
  while (x._parent != null) {
    x = x._parent;
  }
  return x;
}