Work
dart
Work<I, R>(
name: 'orders.approve',
version: 1,
input: inputCodec,
response: responseCodec,
);The workflow calls flow.request(...). The selected actor calls respond through the runtime or service API. Audience may select users, groups, roles, agents, or services; assignee records the actor that claims the created WorkItem.