TranslateRequestModel class
sealed
Properties
copyWith
→ $TranslateRequestModelCopyWith<TranslateRequestModel >
no setter inherited
format
→ String
The format of the source text, in either HTML (default) or plain-text. A
value of "html" indicates HTML and a value of "text" indicates plain-text.
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
model
→ String
The model
type requested for this translation. Valid values are
listed in public documentation.
no setter inherited
q
→ List <String >
The input text to translate. Repeat this parameter to perform translation
operations on multiple text inputs.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
source
→ String ?
The language of the source text, set to one of the language codes listed
in
Language Support. If the source language is not specified, the API will
attempt to identify the source language automatically and return it within
the response.
no setter inherited
target
→ String
The language to use for translation of the input text, set to one of the
language codes listed in Language Support.
no setter inherited