ServerServer.fromMeta constructor

ServerServer.fromMeta(
  1. RevaliContext context,
  2. 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(),
  );
}