closePage<T> method
Close the current opened page.
useRootDelegate
to close a page on the root DBRouterDelegate.
result
provide a result for the closing page.
Implementation
void closePage<T>({bool useRootDelegate = false, T? result}) {
return DBRouterDelegate.of(this, root: useRootDelegate).close<T>(result);
}