removeRoute method

void removeRoute(
  1. Route route
)

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

Implementation

void removeRoute(Route<dynamic> route) =>
    v.App.appState!.navigator?.removeRoute(route);