Url

@SerialName(value = "url")
data class Url(val url: String) : ImageSource(source)

Represents an image source defined by a URL.

This class is a part of the ImageSource sealed interface and specifies that the image is sourced from a web resource identified by the provided URL.

Constructors

Link copied to clipboard
constructor(url: String)

Properties

Link copied to clipboard
val url: String

The URL pointing to the image resource.