pop<T extends Object> method

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

Pops the current route and optionally returns a result to the previous route. The result type should match the type expected by the previous route.

Implementation

void pop<T extends Object>([T? result]) => Navigator.pop(this, result);