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