All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.ferhatwi.supabase.database.TextConfig.kt Maven / Gradle / Ivy

Go to download

Some experiments on Kotlin client for Supabase Database, currently in development phase.

There is a newer version: 0.4.0
Show newest version
package io.github.ferhatwi.supabase.database

sealed class TextConfig(val text: String?) {
    override fun toString() = when (this) {
        is Plain -> "p1"
        is Phrase -> "ph"
        is Website -> "w1"
        is None -> ""
    }


    class Plain(text: String? = null) : TextConfig(text)
    class Phrase(text: String? = null) : TextConfig(text)
    class Website(text: String? = null) : TextConfig(text)
    class None(text: String? = null) : TextConfig(text)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy