pop<T> method

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

Provides a shortcut to pop the current route off the navigator.

This is equivalent to calling Navigator.of(context).pop().

Implementation

void pop<T>([T? result]) => navigator.pop<T>(result);