addRoute method

void addRoute(
  1. GetPage route
)

Implementation

void addRoute(GetPage route) {
  routes.add(route);

  // Add Page children.
  for (var page in _flattenPage(route)) {
    addRoute(page);
  }
}