fromJson static method
Implementation
@visibleForTesting
static MatchFacesDetection? fromJson(jsonObject) {
  var result = MatchFacesDetection._privateConstructor();
  result._image = MatchFacesImage.fromJson(jsonObject["image"])!;
  result._imageIndex = jsonObject["imageIndex"];
  for (var item in jsonObject["faces"]) {
    result.faces.add(MatchFacesDetectionFace.fromJson(item)!);
  }
  result._error = MatchFacesException.fromJson(jsonObject["error"]);
  return result;
}