LanguageCodePair constructor
const
LanguageCodePair({})
Creates a new LanguageCodePair.
sourceLanguageCode The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
targetLanguageCode The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
Implementation
const LanguageCodePair({
required this.sourceLanguageCode,
required this.targetLanguageCode,
});