updateTask method
Update a task by id.
Permissions required: Permission to edit the containing page or blog post and view its corresponding space.
Implementation
Future<Task> updateTask(
{required int id, required TaskUpdateRequest body}) async {
return Task.fromJson(await _client.send(
'put',
'tasks/{id}',
pathParameters: {
'id': '$id',
},
body: body.toJson(),
));
}