toMap method

Map<String, dynamic> toMap()

Converts the HVDocCaptureUIStrings object to a map of key-value pairs.

Returns a map representing the HVDocCaptureUIStrings object.

Implementation

Map<String, dynamic> toMap() {
  return {
    HyperSnapSDKConstants.docInstructionsTitle: docInstructionsTitle,
    HyperSnapSDKConstants.docInstructionsDescription:
        docInstructionsDescription,
    HyperSnapSDKConstants.docInstructionsProceed: docInstructionsProceed,
    HyperSnapSDKConstants.docInstructionsUploadButton:
        docInstructionsUploadButton,
    HyperSnapSDKConstants.docCaptureTitle: docCaptureTitle,
    HyperSnapSDKConstants.docCaptureDescription: docCaptureDescription,
    HyperSnapSDKConstants.docCaptureSubText: docCaptureSubText,
    HyperSnapSDKConstants.docCaptureScanningBarcode:
        docCaptureScanningBarcode,
    HyperSnapSDKConstants.docCaptureBarcodeScanned: docCaptureBarcodeScanned,
    HyperSnapSDKConstants.docCaptureDocFound: docCaptureDocFound,
    HyperSnapSDKConstants.docCaptureDocNotFound: docCaptureDocNotFound,
    HyperSnapSDKConstants.docCaptureMoveCloser: docCaptureMoveCloser,
    HyperSnapSDKConstants.docCaptureMoveAwayFromCamera:
        docCaptureMoveAwayFromCamera,
    HyperSnapSDKConstants.docCaptureMoveAwayFromEdge:
        docCaptureMoveAwayFromEdge,
    HyperSnapSDKConstants.docCaptureAutoCaptureWait:
        docCaptureAutoCaptureWait,
    HyperSnapSDKConstants.docCaptureAutoCaptureError:
        docCaptureAutoCaptureError,
    HyperSnapSDKConstants.docCaptureCameraAccessTitle:
        docCaptureCameraAccessTitle,
    HyperSnapSDKConstants.docCaptureCameraAccessDesc:
        docCaptureCameraAccessDescription,
    HyperSnapSDKConstants.docCaptureCameraAccessButton:
        docCaptureCameraAccessButton,
    HyperSnapSDKConstants.docReviewTitle: docReviewTitle,
    HyperSnapSDKConstants.docReviewDescription: docReviewDescription,
    HyperSnapSDKConstants.docReviewContinueButton: docReviewContinueButton,
    HyperSnapSDKConstants.docReviewRetakeButton: docReviewRetakeButton,
    HyperSnapSDKConstants.docLoaderTitle: docLoaderTitle,
    HyperSnapSDKConstants.docLoaderDesc: docLoaderDescription,
    HyperSnapSDKConstants.docRetakeTitle: docRetakeTitle,
    HyperSnapSDKConstants.docRetakeButton: docRetakeButton,
  };
}