From 1c862be18ac977d24496b9dac61fb9edbf7676d3 Mon Sep 17 00:00:00 2001 From: hunteraraujo Date: Thu, 31 Aug 2023 14:43:01 -0700 Subject: [PATCH] Update Task Model to Use String IDs This commit updates the Task model to use string-based identifiers (id) instead of integers. The change aligns the model with the backend service, which uses string-based UUIDs for task identification. --- lib/models/task.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/task.dart b/lib/models/task.dart index a8ddd36d..970a9bf0 100644 --- a/lib/models/task.dart +++ b/lib/models/task.dart @@ -1,6 +1,6 @@ /// Represents a task or topic the user wants to discuss with the agent. class Task { - final int id; + final String id; String _title; Task({required this.id, required String title})