fromJson static method
Implementation
static SearchPersonDetection? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new SearchPersonDetection();
if (jsonObject["landmarks"] != null)
for (var item in jsonObject["landmarks"])
result.landmarks.add(Point.fromJson(item));
result.rect = Rect.fromJson(jsonObject["rect"]);
result.cropImage = jsonObject["cropImage"];
result.rotationAngle = jsonObject["rotationAngle"] == null ? null : jsonObject["rotationAngle"].toDouble();
return result;
}