removeRoute<T> method

void removeRoute<T>(
  1. GetPage<T> route
)

Implementation

void removeRoute<T>(GetPage<T> route) {
  routes.remove(route);
  for (var page in _flattenPage(route)) {
    removeRoute(page);
  }
}