toMap method

Map<String, dynamic> toMap()

Convert HVUIColor object to Map

Implementation

Map<String, dynamic> toMap() {
  return {
    HyperSnapSDKConstants.titleTextColor: titleTextColor,
    HyperSnapSDKConstants.descriptionTextColor: descriptionTextColor,
    HyperSnapSDKConstants.documentSideHintTextColor:
        documentSideHintTextColor,
    HyperSnapSDKConstants.statusTextColor: statusTextColor,
    HyperSnapSDKConstants.primaryButtonBackgroundColor:
        primaryButtonBackgroundColor,
    HyperSnapSDKConstants.primaryButtonTextColor: primaryButtonTextColor,
    HyperSnapSDKConstants.primaryButtonBorderColor: primaryButtonBorderColor,
    HyperSnapSDKConstants.secondaryButtonBackgroundColor:
        secondaryButtonBackgroundColor,
    HyperSnapSDKConstants.secondaryButtonTextColor: secondaryButtonTextColor,
    HyperSnapSDKConstants.secondaryButtonBorderColor:
        secondaryButtonBorderColor,
    HyperSnapSDKConstants.captureButtonColor: captureButtonColor,
    HyperSnapSDKConstants.retakeMessageColor: retakeMessageColor,
    HyperSnapSDKConstants.alertTextBoxTextColor: alertTextBoxTextColor,
    HyperSnapSDKConstants.alertTextBoxBorderColor: alertTextBoxBorderColor,
    HyperSnapSDKConstants.alertTextBoxBackgroundColor:
        alertTextBoxBackgroundColor,
  };
}