toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

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