ServerServer.fromMeta constructor
ServerServer.fromMeta(
- RevaliContext context,
- MetaServer server
Implementation
factory ServerServer.fromMeta(RevaliContext context, MetaServer server) {
return ServerServer(
context: context,
routes: server.routes.map(ServerParentRoute.fromMeta).toList(),
apps: server.apps.map(ServerApp.fromMeta).toList(),
public: server.public.map(ServerPublic.fromMeta).toList(),
);
}