knownGeminiModels top-level property
Curated capability metadata for the Gemini and Gemma models known to the Gemini API (googleAI) plugin, keyed by bare model name (no plugin prefix).
Derived from KnownGeminiModel and KnownGemmaModel, hidden models
included; models are still resolved from raw strings, this map only enriches
known names with per-model metadata instead of the shared commonModelInfo
fallback. Exposed via CommonGoogleGenPlugin.knownModels.
Implementation
final knownGeminiModels = <String, ModelInfo>{
for (final model in KnownGeminiModel.values) model.id: model.info,
for (final model in KnownGemmaModel.values) model.id: model.info,
};