pop<T> method

void pop<T>([
  1. T? result
])

remove the current page or dialog from the stack until predicate

Implementation

void pop<T>([T? result]) {
  _validateRouterState();
  _navigator.pop(result);
}