publishCodeWorkflow method
Beta: POST /{version}/code/workflows/{Id}/publish
Publish the draft as a new version. Answers WorkflowResponse.
Implementation
Future<Object?> publishCodeWorkflow(
{required Object id,
Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route: '/{version}/code/workflows/{Id}/publish',
method: 'POST',
query: query,
body: body,
headers: headers,
pathParams: <String, Object?>{'Id': id},
);
}