DetectPHIResponse.fromJson constructor
Implementation
factory DetectPHIResponse.fromJson(Map<String, dynamic> json) {
return DetectPHIResponse(
entities: (json['Entities'] as List)
.whereNotNull()
.map((e) => Entity.fromJson(e as Map<String, dynamic>))
.toList(),
modelVersion: json['ModelVersion'] as String,
paginationToken: json['PaginationToken'] as String?,
);
}