setLocale method
Change the locale for speech recognition
Implementation
void setLocale(String localeId) {
_currentLocale = localeId;
notifyListeners();
}
Change the locale for speech recognition
void setLocale(String localeId) {
_currentLocale = localeId;
notifyListeners();
}