PersonDetection.fromJson constructor
Implementation
factory PersonDetection.fromJson(Map<String, dynamic> json) {
return PersonDetection(
person: json['Person'] != null
? PersonDetail.fromJson(json['Person'] as Map<String, dynamic>)
: null,
timestamp: json['Timestamp'] as int?,
);
}