setCurrentLanguage method

void setCurrentLanguage(
  1. String lang
)

A setter for currentLanguage. Defaults to 'en'

Implementation

void setCurrentLanguage(String lang) => currentLanguage = lang;