TranslationRequest constructor
const
TranslationRequest({})
Creates a new TranslationRequest.
The originalText parameter is the text to be translated.
The originalLanguageCode parameter is the language code of the original text.
The translatedLanguageCode parameter is the language code of the desired translation.
Implementation
const factory TranslationRequest({
required String originalText,
required String originalLanguageCode,
required String translatedLanguageCode,
}) = _TranslationRequest;