TranslationResult constructor

const TranslationResult({
  1. required String text,
  2. required List<Translation> translations,
  3. DetectedLanguage? detectedLanguage,
})

Implementation

const TranslationResult({
  required this.text,
  required this.translations,
  this.detectedLanguage,
});