A2uiEnvelope typedef

A2uiEnvelope = Map<String, dynamic>

A single agent -> renderer A2UI envelope message, in its raw JSON shape.

Exactly one of the keys createSurface, updateComponents, updateDataModel, or deleteSurface is present, alongside version. Renderer -> agent actions use an action key.

Implementation

typedef A2uiEnvelope = Map<String, dynamic>;