removeRoute method

void removeRoute(
  1. RouteData route, {
  2. bool notify = true,
})

Removes given route and any corresponding controllers

finally calls notifyAll if notify is true

Implementation

void removeRoute(RouteData route, {bool notify = true}) {
  _removeRoute(route._match, notify: notify);
}