pop<T> method
void
pop<T>([
- T? result
remove the current page or dialog from the stack until predicate
Implementation
void pop<T>([T? result]) {
_validateRouterState();
_navigator.pop(result);
}