parse method

Future<MetaServer> parse()

Implementation

Future<MetaServer> parse() async {
  final root = await rootOf(rootPath);

  final (:routes, :apps) = await _getRoutes(root);

  final publicRoutes = await _getPublic(root);

  return MetaServer(
    routes: routes,
    apps: apps,
    public: publicRoutes,
  );
}