FaceComparisonResult.fromJson constructor

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

Implementation

FaceComparisonResult.fromJson(Map<String, dynamic> json) {
  if (json.containsKey("score")) {
    score = json["score"];
  }
  if (json.containsKey("authenticationThreshold")) {
    authenticationThreshold = json["authenticationThreshold"];
  }
  if (json.containsKey("max")) {
    max = json["max"];
  }
}