toMap method

Map<String, dynamic> toMap()

Convert HVUIFontWeight object to Map

Implementation

Map<String, dynamic> toMap() {
  return {
    HyperSnapSDKConstants.titleTextWeight: titleTextWeight,
    HyperSnapSDKConstants.descriptionTextWeight: descriptionTextWeight,
    HyperSnapSDKConstants.statusTextWeight: statusTextWeight,
    HyperSnapSDKConstants.documentSideHintTextWeight:
        documentSideHintTextWeight,
    HyperSnapSDKConstants.retakeMessageWeight: retakeMessageWeight,
    HyperSnapSDKConstants.primaryButtonTextWeight: primaryButtonTextWeight,
    HyperSnapSDKConstants.secondaryButtonTextWeight:
        secondaryButtonTextWeight,
    HyperSnapSDKConstants.alertTextBoxTextWeight: alertTextBoxTextWeight,
  };
}