toChangeList

fun List<WidgetValue>.toChangeList(factory: ProtocolBridge.Factory, json: Json = Json.Default): SnapshotChangeList

Encode this snapshot of widget values into a list of changes which can be serialized and later applied to the UI to recreate the structure and state.


fun WidgetValue.toChangeList(factory: ProtocolBridge.Factory, 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.