WidgetValue
interface WidgetValue
A widget that's implemented as a value class, appropriate for use in tests.
Implementations of this interface may have lambda properties that trigger application behavior. These lambda properties are excluded from Any.equals, Any.hashCode, and Any.toString.
Properties
Functions
Link copied to clipboard
fun WidgetValue.toChangeList(factory: ProtocolWidgetSystemFactory, json: Json = Json.Default): SnapshotChangeList
Encode this widget value snapshot into a list of changes which can be serialized and later applied to the UI to recreate the structure and state.
Link copied to clipboard