pop<T extends Object?> method

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

Pops the current route off the navigator.

Optionally returns a result to the previous route.

Implementation

void pop<T extends Object?>([T? result]) {
  return Navigator.of(this).pop(result);
}