Translation.fromDictionaryDefinitionTranslation constructor
Translation.fromDictionaryDefinitionTranslation(
- DictionaryDefinitionTranslation value, {
- TranslationLanguage? language,
Implementation
factory Translation.fromDictionaryDefinitionTranslation(
DictionaryDefinitionTranslation value, {
TranslationLanguage? language,
}) {
return Translation(
language: language,
definition: value.definition,
word: value.translations?.join(language?.wordSeparator ?? "; "),
);
}