toMap method
Convert HVUIAnimation object to Map
Implementation
Map<String, dynamic> toMap() {
return {
HyperSnapSDKConstants.documentInstructionLottie:
documentInstructionLottie,
HyperSnapSDKConstants.documentInstructionFrontSideLottie:
documentInstructionFrontSideLottie,
HyperSnapSDKConstants.documentInstructionBackSideLottie:
documentInstructionBackSideLottie,
HyperSnapSDKConstants.documentProcessingLottie: documentProcessingLottie,
HyperSnapSDKConstants.documentSuccessLottie: documentSuccessLottie,
HyperSnapSDKConstants.documentFailureLottie: documentFailureLottie,
HyperSnapSDKConstants.faceInstructionLottie: faceInstructionLottie,
HyperSnapSDKConstants.faceProcessingLottie: faceProcessingLottie,
HyperSnapSDKConstants.faceSuccessLottie: faceSuccessLottie,
HyperSnapSDKConstants.faceFailureLottie: faceFailureLottie,
HyperSnapSDKConstants.endStateProcessing: endStateProcessing,
HyperSnapSDKConstants.endStateSuccess: endStateSuccess,
HyperSnapSDKConstants.endStateFailure: endStateFailure,
HyperSnapSDKConstants.uploadFailure: uploadFailure,
HyperSnapSDKConstants.qrInstruction: qrInstruction,
};
}