Translation constructor

Translation({
  1. String? detectedLanguageCode,
  2. TranslateTextGlossaryConfig? glossaryConfig,
  3. String? model,
  4. String? translatedText,
})

Implementation

Translation({
  this.detectedLanguageCode,
  this.glossaryConfig,
  this.model,
  this.translatedText,
});