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