BaseAppLocaleUtils<E> class
abstract
Provides utility functions without any side effects.
Constructors
-
BaseAppLocaleUtils({required AppLocaleIdMapper<
E> mapper, required E baseLocale})
Properties
- baseLocale → E
-
Internal: The base locale
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localeIds
→ List<
AppLocaleId> -
Internal: AppLocaleId list, unordered
final
-
mapper
→ AppLocaleIdMapper<
E> -
Internal: Mapping between AppLocaleId and
E
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseRawLocale(
String rawLocale) → E - Parses the raw locale to get the enum. Fallbacks to base locale.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited