DetectDominantLanguageResponse.fromJson constructor
Implementation
factory DetectDominantLanguageResponse.fromJson(Map<String, dynamic> json) {
return DetectDominantLanguageResponse(
languages: (json['Languages'] as List?)
?.whereNotNull()
.map((e) => DominantLanguage.fromJson(e as Map<String, dynamic>))
.toList(),
);
}