generateTemplateFiles method

  1. @override
List<StringFileData> generateTemplateFiles(
  1. TranslationTemplate catalog
)
override

Implementation

@override
List<StringFileData> generateTemplateFiles(
  TranslationTemplate catalog,
) {
  final file = StringFileData(
    generateTemplateFile(catalog),
    '${catalog.projectName}_${catalog.defaultLocale}.$fileExtension',
  );
  return [file];
}