setLanguage static method

dynamic setLanguage(
  1. Language language
)

Set language, default value is Language.en.

Implementation

static setLanguage(Language language) {
  _channel.invokeMethod("setLanguage", language.name);
}