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