toAttrId

abstract fun toAttrId(): Pair<Int, String>

Maps the string key to its corresponding Android theme attribute ID and optional variant name.

Return

A Pair containing the theme attribute ID (Int) and the variant name (String).