canonicalizedLocale static method
Return the name aLocale
turned into xx_YY where it might possibly be
in the wrong case or with a hyphen instead of an underscore. If
aLocale
is null, for example, if you tried to get it from IE,
return the current system locale.
Implementation
static String canonicalizedLocale(String? aLocale) =>
helpers.canonicalizedLocale(aLocale);