toMap method
Converts the HVOCRAPIDetails object to a map of key-value pairs.
Returns a map representing the HVOCRAPIDetails object.
Implementation
Map<String, dynamic> toMap() {
return {
HyperSnapSDKConstants.ocrEndpoint: ocrEndpoint,
HyperSnapSDKConstants.documentSideString: documentSide.documentSideString,
HyperSnapSDKConstants.params: params,
HyperSnapSDKConstants.headers: headers,
};
}