fromJson static method

MatchFacesComparedFace? fromJson(
  1. dynamic jsonObject
)

Implementation

static MatchFacesComparedFace? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new MatchFacesComparedFace();

  result.face = MatchFacesDetectionFace.fromJson(jsonObject["face"]);
  result.image = MatchFacesImage.fromJson(jsonObject["image"]);
  result.faceIndex = jsonObject["faceIndex"];
  result.imageIndex = jsonObject["imageIndex"];

  return result;
}