FaceRecord.fromJson constructor

FaceRecord.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FaceRecord.fromJson(Map<String, dynamic> json) {
  return FaceRecord(
    face: json['Face'] != null
        ? Face.fromJson(json['Face'] as Map<String, dynamic>)
        : null,
    faceDetail: json['FaceDetail'] != null
        ? FaceDetail.fromJson(json['FaceDetail'] as Map<String, dynamic>)
        : null,
  );
}