fromJson static method
Implementation
static MatchFacesDetection? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new MatchFacesDetection();
result.image = MatchFacesImage.fromJson(jsonObject["image"]);
result.imageIndex = jsonObject["imageIndex"];
if (jsonObject["faces"] != null)
for (var item in jsonObject["faces"])
result.faces.add(MatchFacesDetectionFace.fromJson(item));
result.exception = MatchFacesException.fromJson(jsonObject["exception"]);
return result;
}