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