language property

String? language
final

TTS-only (Qwen3): the language to condition generation on — one of flutter_gemma_speech's qwen3SupportedLanguages, or 'auto'. Null for non-TTS models, and for TTS models with no language parameter (e.g. Matcha, whose locale comes from its TtsModelProfile.locale instead) — the TTS backend defaults a null value to 'english'. Not validated here; the TTS backend rejects an unsupported value with ArgumentError before loading the model.

Implementation

final String? language;