Return true if the localeIdentifier can be parsed, null otherwise.
true
localeIdentifier
static Locale? tryParseLocale(String localeIdentifier) => Locale.tryParse(localeIdentifier);