TranslateItemModel constructor
const
TranslateItemModel({})
Implementation
const factory TranslateItemModel({
/// Text translated into the target language.
String? translatedText,
/// The source language of the initial request, detected automatically, if
/// no source language was passed within the initial request. If the
/// source language was passed, auto-detection of the language will not
/// occur and this field will be empty.
String? detectedSourceLanguage,
/// The `model` type used for this translation. Valid values are
/// listed in public documentation. Can be different from requested `model`.
/// Present only if specific model type was explicitly requested.
String? model,
}) = _TranslateItemModel;