setNewLanguageState static method

void setNewLanguageState({
  1. required String language,
})

Implementation

static void setNewLanguageState({required String language}) {
  assert(language.isNotEmpty);
  _instance.setNewLanguageState(language: language);
}