DetectLanguageResponse.fromJson constructor
DetectLanguageResponse.fromJson(
- Map json_
Implementation
DetectLanguageResponse.fromJson(core.Map json_)
: this(
languages: json_.containsKey('languages')
? (json_['languages'] as core.List)
.map((value) => DetectedLanguage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);