locale property
Locale
get
locale
Returns the forced-locale, if it is not null.
Otherwise, returns the system-locale.
Note: If the system-locale is not defined by some reason,
the locale will be Locale("en", "US")
.
Implementation
static Locale get locale => _forcedLocale ?? _systemLocale;