HVResponse class

HVResponse represents a response object containing various attributes related to an API response.

Constructors

HVResponse({String? imageUri, String? fullImageUri, String? videoUri, Map? apiResult, Map? apiHeaders, String? retakeMessage, String? action, Map? activeLivenessResult, List? retakeAttemptResponses, String? rawBarcode})
Creates an instance of HVResponse.

Properties

action String?
The action associated with the response.
final
activeLivenessResult Map?
The active liveness result associated with the response.
final
apiHeaders Map?
The headers received in the API response.
final
apiResult Map?
The API result returned in the response.
final
fullImageUri String?
The URI of the full image associated with the response.
final
hashCode int
The hash code for this object.
no setterinherited
imageUri String?
The URI of the image associated with the response.
final
rawBarcode String?
The raw barcode associated with the response.
final
retakeAttemptResponses List?
The list of retake attempt responses.
final
retakeMessage String?
The retake message associated with the response.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoUri String?
The URI of the video associated with the response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map responseMap) HVResponse
Creates an instance of HVResponse from a map object.
getStructuredActiveLivenessResponse({Map? activeLivenessUrls}) Map<String, dynamic>
Converts the active liveness response URLs into a structured format.