FaceMatch.fromJson constructor

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

Implementation

factory FaceMatch.fromJson(Map<String, dynamic> json) {
  return FaceMatch(
    face: json['Face'] != null
        ? Face.fromJson(json['Face'] as Map<String, dynamic>)
        : null,
    similarity: json['Similarity'] as double?,
  );
}