TranslationFileReader constructor

const TranslationFileReader({
  1. required Future<String> fileReader(
    1. String filePath
    ),
  2. ConfigFileType fileType = ConfigFileType.YAML,
  3. List<String> translationsDirPath = const ['assets', 'translations'],
})

Implementation

const TranslationFileReader({
  required this.fileReader,
  this.fileType = ConfigFileType.YAML,
  this.translationsDirPath = const ['assets', 'translations'],
});