toMap method

Map<String, dynamic> toMap()

Converts the HVFaceCaptureUIStrings object to a map.

Returns a map containing the custom string values.

Implementation

Map<String, dynamic> toMap() {
  return {
    HyperSnapSDKConstants.faceInstructionsTitle: faceInstructionsTitle,
    HyperSnapSDKConstants.faceInstructionsDesc: faceInstructionsDescription,
    HyperSnapSDKConstants.faceInstructionsProceed: faceInstructionsProceed,
    HyperSnapSDKConstants.faceInstructionsProceedBackCam:
        faceInstructionsProceedBackCam,
    HyperSnapSDKConstants.faceCaptureTitle: faceCaptureTitle,
    HyperSnapSDKConstants.faceCaptureMoveCloser: faceCaptureMoveCloser,
    HyperSnapSDKConstants.faceCaptureFaceFound: faceCaptureFaceFound,
    HyperSnapSDKConstants.faceCaptureFaceNotFound: faceCaptureFaceNotFound,
    HyperSnapSDKConstants.faceCaptureMoveAway: faceCaptureMoveAway,
    HyperSnapSDKConstants.faceCaptureLookStraight: faceCaptureLookStraight,
    HyperSnapSDKConstants.faceCaptureMultipleFaces: faceCaptureMultipleFaces,
    HyperSnapSDKConstants.faceCaptureDeviceWrongOrientation:
        faceCaptureDeviceWrongOrientation,
    HyperSnapSDKConstants.faceCaptureAutoCaptureWait:
        faceCaptureAutoCaptureWait,
    HyperSnapSDKConstants.faceCaptureAutoCaptureAction:
        faceCaptureAutoCaptureAction,
    HyperSnapSDKConstants.faceGestureLookLeft: faceGestureLookLeft,
    HyperSnapSDKConstants.faceGestureLookRight: faceGestureLookRight,
    HyperSnapSDKConstants.faceGestureLookStraight: faceGestureLookStraight,
    HyperSnapSDKConstants.faceCaptureCameraAccessTitle:
        faceCaptureCameraAccessTitle,
    HyperSnapSDKConstants.faceCaptureCameraAccessDesc:
        faceCaptureCameraAccessDescription,
    HyperSnapSDKConstants.faceCaptureCameraAccessButton:
        faceCaptureCameraAccessButton,
    HyperSnapSDKConstants.faceLoaderDesc: faceLoaderDescription,
    HyperSnapSDKConstants.faceLoaderTitle: faceLoaderTitle,
    HyperSnapSDKConstants.faceRetakeButton: faceRetakeButton,
    HyperSnapSDKConstants.faceRetakeTitle: faceRetakeTitle,
  };
}