SearchFacesResponse.fromJson constructor
Implementation
factory SearchFacesResponse.fromJson(Map<String, dynamic> json) {
return SearchFacesResponse(
faceMatches: (json['FaceMatches'] as List?)
?.whereNotNull()
.map((e) => FaceMatch.fromJson(e as Map<String, dynamic>))
.toList(),
faceModelVersion: json['FaceModelVersion'] as String?,
searchedFaceId: json['SearchedFaceId'] as String?,
);
}