LocalizationManager constructor
LocalizationManager({})
Constructs a localization manager with initial settings.
Implementation
LocalizationManager({
required this.supportedLocales,
required Locale initialLocale,
required List<String> initialTranslations,
required bool debugMode,
}) : currentLocale = initialLocale,
logger = Logger(debugMode: debugMode) {
logger.log("Initializing Localization Manager");
loadInitialTranslations(initialLocale, initialTranslations.toSet());
}