DetectFacesResponse.fromJson constructor
Implementation
factory DetectFacesResponse.fromJson(Map<String, dynamic> json) {
return DetectFacesResponse(
faceDetails: (json['FaceDetails'] as List?)
?.whereNotNull()
.map((e) => FaceDetail.fromJson(e as Map<String, dynamic>))
.toList(),
orientationCorrection:
(json['OrientationCorrection'] as String?)?.toOrientationCorrection(),
);
}