StylePropertyValue

class StylePropertyValue : Serializable

Holds a style property value with meta data.

Constructors

StylePropertyValue
Link copied to clipboard
open fun StylePropertyValue(@NonNull value: Value, @NonNull kind: StylePropertyValueKind)

Functions

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

Properties

kind
Link copied to clipboard
private val kind: StylePropertyValueKind
value
Link copied to clipboard
private val value: Value

Extensions

silentUnwrap
Link copied to clipboard
inline fun <T> StylePropertyValue.silentUnwrap(): T?

Extension function for StylePropertyValue to silently unwrap StylePropertyValue to given type.

unwrap
Link copied to clipboard
inline fun <T> StylePropertyValue.unwrap(): T

Extension function for StylePropertyValue to unwrap StylePropertyValue to given type.