A2uiEnvelope typedef

A2uiEnvelope = Map<String, dynamic>

A single server -> client A2UI envelope message, in its raw JSON shape.

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

Implementation

typedef A2uiEnvelope = Map<String, dynamic>;