SupportedLocale constructor
SupportedLocale({
- required Locale locale,
- required List<
Translation> translations,
Constructs a SupportedLocale with a specific locale and list of translations.
This constructor requires all parameters to be provided and cannot be called without them.
locale
specifies the locale for the translations, and translations
provides the detailed
translation objects that include path and name information needed for localization operations.
Implementation
SupportedLocale({required this.locale, required this.translations});