LocalizationPackage constructor

LocalizationPackage({
  1. required String path,
  2. required String arbDirRelativePath,
  3. required String templateFile,
  4. required String name,
  5. String? projectKey,
  6. required Iterable<String> allowedLocales,
})

Implementation

LocalizationPackage({
  required this.path,
  required this.arbDirRelativePath,
  required this.templateFile,
  required this.name,
  this.projectKey,
  required Iterable<String> allowedLocales,
}) : _allowedLocales = allowedLocales {
  _loadFiles();
}