root property

Implementation

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