Localizations.withSheetData constructor
Localizations.withSheetData(})
Implementation
Localizations.withSheetData(
super.sheetData, {
required this.outputFileName,
required this.className,
required this.genExtension,
}) : exporters = [
const _Localizations(),
for (final language in sheetData.languages)
_LocalizationsLanguage(
language: language,
),
if (genExtension) ...[
const _LocalizationsExtension(),
for (final language in sheetData.languages)
_LocalizationsExtensionLanguage(
language: language,
),
],
],
super.withSheetData();