PersonDetail.fromJson constructor
Implementation
factory PersonDetail.fromJson(Map<String, dynamic> json) {
return PersonDetail(
boundingBox: json['BoundingBox'] != null
? BoundingBox.fromJson(json['BoundingBox'] as Map<String, dynamic>)
: null,
face: json['Face'] != null
? FaceDetail.fromJson(json['Face'] as Map<String, dynamic>)
: null,
index: json['Index'] as int?,
);
}