FaceDetection.fromJson constructor
Implementation
factory FaceDetection.fromJson(Map<String, dynamic> json) {
return FaceDetection(
face: json['Face'] != null
? FaceDetail.fromJson(json['Face'] as Map<String, dynamic>)
: null,
timestamp: json['Timestamp'] as int?,
);
}