pop<T extends Object> method

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

The type of result, if provided, must match the type argument of the class of the popped route (T).

Implementation

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