pop<T extends Object?> method

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

Pop the top-most route off the current screen.

If the top-most route is a pop up or dialog, this method pops it instead of any GoRoute under it.

Implementation

void pop<T extends Object?>([T? result]) {
  assert(() {
    log('popping ${routerDelegate.currentConfiguration.uri}');
    return true;
  }());
  routerDelegate.pop<T>(result);
}