removeRoute method

void removeRoute(
  1. Route route
)

Immediately remove route from the navigator, and Route.dispose it.

Implementation

void removeRoute(Route<dynamic> route) => App.router.removeRoute(route);