fromJson static method
Implementation
static DetectFacesConfiguration? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new DetectFacesConfiguration();
if (jsonObject["attributes"] != null)
for (var item in jsonObject["attributes"]) result.attributes.add(item);
if (jsonObject["customQuality"] != null)
for (var item in jsonObject["customQuality"])
result.customQuality.add(ImageQualityCharacteristic.fromJson(item));
result.outputImageParams =
OutputImageParams.fromJson(jsonObject["outputImageParams"]);
result.onlyCentralFace = jsonObject["onlyCentralFace"];
return result;
}