removeRoute method

void removeRoute(
  1. Route route
)

A method that removes the given route from the Navigator.

Implementation

void removeRoute(Route<dynamic> route) {
  return Navigator.of(this).removeRoute(route);
}