addRoute<T> method
Implementation
void addRoute<T>(GetPage<T> route) {
routes.add(route);
// Add Page children.
for (var page in _flattenPage(route)) {
addRoute(page);
}
}
void addRoute<T>(GetPage<T> route) {
routes.add(route);
// Add Page children.
for (var page in _flattenPage(route)) {
addRoute(page);
}
}