getApiKeyForProvider method
Implementation
Future<String?> getApiKeyForProvider(ApiProviderType type) => switch (type) {
ApiProviderType.anthropic => getAnthropicApiKey(),
ApiProviderType.openai => getOpenAiApiKey(),
ApiProviderType.gemini => getGeminiApiKey(),
ApiProviderType.qwen => getQwenApiKey(),
ApiProviderType.deepseek => getDeepSeekApiKey(),
_ => Future.value(null),
};