locale property

Locale get locale

The Locale to use based on the user's language.

Implementation

Locale get locale => _langToLocale[language] ?? _langToLocale.values.first;