language property

String language

The language of the current locale, as a lowercase string. For example: "en" or "pt".

Implementation

static String get language => getLanguageFromLocale(locale);