changeLanguage static method
Update the language in the application
Implementation
static changeLanguage(String state,
{required String language, bool restartState = true}) {
_updateState(state, "change-language", {
"language": language,
"restartState": restartState,
});
}