package uz.aigroup.myid

data class Response(
    val code: String? = null,
    val comparison: Double? = null,
    val base64: String? = null
) {

    fun toMap(): HashMap<String, Any> {
        val map: HashMap<String, Any> = HashMap()

        code?.let { map["code"] = it }
        comparison?.let { map["comparison"] = it }
        base64?.let { map["base64"] = it }

        return map
    }
}