fromJson static method
Implementation
@visibleForTesting
static SearchPersonRequest? fromJson(jsonObject) {
if (jsonObject == null) return null;
return SearchPersonRequest(
ImageUpload.fromJson(jsonObject["imageUpload"])!,
groupIdsForSearch: jsonObject["groupIdsForSearch"],
threshold: _toDouble(jsonObject["threshold"]),
limit: jsonObject["limit"],
detectAll: jsonObject["detectAll"],
outputImageParams:
OutputImageParams.fromJson(jsonObject["outputImageParams"]),
);
}