toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"imageUpload": _imageUpload.toJson(),
"groupIdsForSearch": _groupIdsForSearch,
"threshold": _threshold,
"limit": _limit,
"detectAll": _detectAll,
"outputImageParams": _outputImageParams?.toJson(),
}.clearNulls();