notationTypes top-level constant
Short names: what an agent writes → the node type and what it implies.
Implementation
const Map<String, ({String type, Json node})> notationTypes = {
'Input': (type: 'textField', node: {}),
'Toggle': (type: 'switch', node: {}),
'Select': (type: 'dropdown', node: {}),
'Button': (type: 'filledButton', node: {}),
'Progress': (type: 'progressBar', node: {}),
'List': (type: 'listView', node: {}),
'Grid': (type: 'gridView', node: {}),
'Image': (type: 'box', node: {}),
'Card': (type: 'column', node: {}),
};