goBack<T> method

void goBack<T>([
  1. T? result
])

Pop current route

Implementation

void goBack<T>([T? result]) {
  navigator?.pop<T>(result);
}