pop<T> function

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

remove the current page or dialog from the stack until predicate

Implementation

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