UiBinding class

A data binding attached to a vocabulary node (v2 — agent-renderable UI).

Binds a node property to a data source path so the renderer can hydrate the node without the agent hand-writing widget trees.

Constructors

UiBinding({required String source, required String target, String? transform})
const
UiBinding.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
Source data path (e.g. note.title, note.isPinned).
final
target → String
Target property on the node (e.g. text, value, visible).
final
transform → String?
Optional transform name applied to the bound value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited