MultiLanguage constructor
MultiLanguage({})
Creates an instance of MultiLanguage with the given languagePath.
Implementation
MultiLanguage({
this.languagePath = '',
this.source = LanguageSource.json,
this.dartLanguages = const {},
}) {
if (languagePath.isEmpty && source == LanguageSource.json) {
throw Exception(
'Language path must be provided when using JSON source.',
);
}
}