fromJson static method
Implementation
@visibleForTesting
static ComparedFacesSplit? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = ComparedFacesSplit._privateConstructor();
for (var item in jsonObject["matchedFaces"]) {
result._matchedFaces.add(ComparedFacesPair.fromJson(item)!);
}
for (var item in jsonObject["unmatchedFaces"]) {
result._unmatchedFaces.add(ComparedFacesPair.fromJson(item)!);
}
return result;
}