generateLocalization method
Implementation
Future<void> generateLocalization(L10nConfig l10nConfig) async {
final arbFiles = await _getArbFiles(l10nConfig);
await runIntlOrFail(
'generate_from_arb',
[
'--output-dir=${l10nConfig.outputDir}',
'--codegen_mode=release',
'--use-deferred-loading',
'--no-suppress-warnings',
l10nConfig.sourceFile,
...arbFiles,
],
prependWithPubGet: true,
);
}