moveToParent method
Sets the current page to the parent.
Throws if there is no parent page.
Implementation
void moveToParent() {
assert(parent != null);
setPage(parent as P);
}
Sets the current page to the parent.
Throws if there is no parent page.
void moveToParent() {
assert(parent != null);
setPage(parent as P);
}