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

divkit.dsl.Url.kt Maven / Gradle / Ivy

Go to download

DivKit is an open source Server-Driven UI (SDUI) framework. SDUI is a an emerging technique that leverage the server to build the user interfaces of their mobile app.

There is a newer version: 30.19.0
Show newest version
package divkit.dsl

import com.fasterxml.jackson.annotation.JsonValue
import divkit.dsl.scope.DivScope
import kotlin.String
import kotlin.jvm.JvmInline

@JvmInline
value class Url internal constructor(
    @JsonValue
    internal val value: String,
) {
    override fun toString() = value

    companion object {
        fun create(url: String): Url = Url(url)
    }
}

fun DivScope.url(url: String): Url = Url(url)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy