ARBTranslator constructor

ARBTranslator({
  1. required AbstractTranslationService translationSvc,
  2. required ARBContent arb,
  3. required LanguageCode sourceLanguage,
  4. required Logger logger,
})

translationSvc - API service which will be used for translation of items arb - the file content which should be translated sourceLanguage - the language of arb

Implementation

ARBTranslator({
  required this.translationSvc,
  required this.arb,
  required this.sourceLanguage,
  required this.logger,
});