BatchDetectKeyPhrasesResponse.fromJson constructor
BatchDetectKeyPhrasesResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchDetectKeyPhrasesResponse.fromJson(Map<String, dynamic> json) {
return BatchDetectKeyPhrasesResponse(
errorList: (json['ErrorList'] as List)
.whereNotNull()
.map((e) => BatchItemError.fromJson(e as Map<String, dynamic>))
.toList(),
resultList: (json['ResultList'] as List)
.whereNotNull()
.map((e) => BatchDetectKeyPhrasesItemResult.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}