TranslationService constructor

TranslationService(
  1. TranslatorConfig _config
)

Creates a TranslationService with the given config.

Implementation

TranslationService(this._config) : _httpClient = http.Client();