updateTaskChecklistByUuid function
PATCH /api/{api_version}/tasks/{task_id}/checklist/{task_checklist_uuid}
Edit one checklist item, {"checklist": {...}}; the task's id or code, and
the whole task back.
Implementation
Future<ApiResponse<TaskView>> updateTaskChecklistByUuid(
ExsitedClient client,
Object taskId,
Object taskChecklistUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(TasksUrls.taskChecklistByUuid,
pathParams: {
'task_id': taskId,
'task_checklist_uuid': taskChecklistUuid
},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: TaskView.fromMap);