HVLivenessAPIDetails constructor

HVLivenessAPIDetails({
  1. String? livenessEndpoint,
  2. LivenessMode? livenessMode,
  3. Map? params,
  4. Map? headers,
})

Creates an instance of HVLivenessAPIDetails to pre-set the endpoint, liveness value, params, and headers for making a liveness API call.

livenessEndpoint (optional) is the endpoint URL which will be used to make the liveness call. By default, the SDK provides a default endpoint for making liveness calls. livenessMode (optional) is the liveness mode, which can be one of LivenessMode.none, LivenessMode.textureLiveness, specifying the side of the document captured. params (optional) is a map/json containing key-value pairs of different fraud/malice checks provided by Hyperverge.co. headers (optional) is a map/json containing key-value pairs of different header options provided by Hyperverge.co.

Implementation

HVLivenessAPIDetails({
  this.livenessEndpoint,
  this.livenessMode,
  this.params,
  this.headers,
});