pop method

void pop([
  1. Object? result
])

Pops the current route off the navigator.

Implementation

void pop([Object? result]) {
  _key.currentState?.pop(result);
}