fromJson static method
Implementation
@visibleForTesting
static ComparedFace? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = ComparedFace._privateConstructor();
  result._imageIndex = jsonObject["imageIndex"];
  result._image = MatchFacesImage.fromJson(jsonObject["image"])!;
  result._faceIndex = jsonObject["faceIndex"];
  result._face = MatchFacesDetectionFace.fromJson(jsonObject["face"]);
  return result;
}