Property

annotation class Property(value: Int)

Annotates a Node property which represents a property on the associated UI node. Each property in a Node class must have a unique value.

@Node(1)
data class Text(
@Property(1) val text: String,
)

Constructors

Property
Link copied to clipboard
fun Property(value: Int)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

value
Link copied to clipboard
val value: Int