addPages method

void addPages(
  1. List<GetPage> getPages
)

Implementation

void addPages(List<GetPage> getPages) {
  if (getPages != null) {
    if (routeTree == null) {
      routeTree = ParseRouteTree();
    }

    for (final element in getPages) {
      routeTree.addRoute(element);
    }
  }
}