package de.softwareapp_hb.privateqrscanner.domain

data class ScanResult(
    val content: String,
    val type: String,
    val isBase64Encoded: Boolean = false
) {
    val displayType: String
        get() = if (isBase64Encoded && !type.contains("base64", ignoreCase = true)) {
            "$type (Base64)"
        } else {
            type
        }
}
