pop<T extends Object?> method

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

Pop the top page off the Navigator's page stack by calling Navigator.pop.

Implementation

void pop<T extends Object?>([T? result]) {
  final router = App.goRouter;
  if (router == null) {
    Navigator.pop<T>(this, result);
  } else {
    router.pop<T>(result);
  }
}