AdaptiveMtTranslateResponse.fromJson constructor
AdaptiveMtTranslateResponse.fromJson(
- Map json_
Implementation
AdaptiveMtTranslateResponse.fromJson(core.Map json_)
: this(
glossaryTranslations: (json_['glossaryTranslations'] as core.List?)
?.map(
(value) => AdaptiveMtTranslation.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
languageCode: json_['languageCode'] as core.String?,
translations: (json_['translations'] as core.List?)
?.map(
(value) => AdaptiveMtTranslation.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);