Adds constructor to DualCase class

This commit is contained in:
Vitor Pamplona
2026-03-10 14:37:55 -04:00
parent 1de38ad9ec
commit 558e8a2dd2
@@ -112,4 +112,6 @@ fun String.startsWithAny(terms: List<DualCase>): Boolean {
class DualCase(
val lowercase: String,
val uppercase: String,
)
) {
constructor(anyCase: String) : this(anyCase.lowercase(), anyCase.uppercase())
}