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, bool? serializeIdsAsStrings}) async {
return Task.fromJson(await _client.send(
'put',
'tasks/{id}',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
));
}