FeatureRouter constructor
Implementation
FeatureRouter({
required GoRouter goRouter,
required String apiKey,
GPTModel? gptModel,
}) : _router = goRouter {
FeatureSettings().configure(
aiApiKey: apiKey,
gptModel: gptModel,
);
RouteDataProvider.initializeRoutes(_router.configuration.routes);
}