AppLocaleUtilsExt<E extends BaseAppLocale<T> , T extends BaseTranslations> extension
- on
-
- BaseAppLocaleUtils<
E, T>
- BaseAppLocaleUtils<
Methods
-
parse(
String rawLocale) → E -
Available on BaseAppLocaleUtils<
Parses the raw locale to get the enum. Fallbacks to base locale.E, T> , provided by the AppLocaleUtilsExt extension -
parseAppLocale(
BaseAppLocale< BaseTranslations> locale) → E -
Available on BaseAppLocaleUtils<
Gets theE, T> , provided by the AppLocaleUtilsExt extensionE
type oflocale
. -
parseLocaleParts(
{required String languageCode, String? scriptCode, String? countryCode}) → E -
Available on BaseAppLocaleUtils<
Finds the locale typeE, T> , provided by the AppLocaleUtilsExt extensionE
which fits the locale parts the best. Fallbacks to base locale.